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