Query is:select * from link_page where (heading='other-links' or friendly_url='other-links') and pagehead='m' and status='active'