Affordable homes aimed at York key workers backed amid concerns of pressure on local area.