SELECT * FROM page_content LEFT JOIN page_section USING (section_id) WHERE content_id='1' AND NOW()>content_published AND page_content.deleted='N' LIMIT 1