SELECT * FROM `listing` where listing_id ='gallery' AND publish = 1