select module_id from seo_link_master where 1 and seo_slug = '5' and module_name = 'gallery'