SELECT * FROM novostroy WHERE Hide='0' AND City='23' AND District=10168 AND Glavnaya<2 AND PicCount>0 ORDER BY rand() LIMIT 3