select photo_id from neri_photo where produit_id = and photo_type = 'affaire' order by photo_prio limit 0,1