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