SQL QUERY: Server shutdown in progress[SELECT sc.`color`, sc.`bg_title` as color_name FROM cms_products as p LEFT JOIN cms_colors_linked as cl ON cl.color_id=p.color_id AND cl.enabled='1' LEFT JOIN cms_settings_colors as sc ON sc.id=cl.settings_color_id AND sc.enabled='1' WHERE IF(p.sku != '',p.sku,p.dex)='18P41001' AND p.`enabled`='1' AND p.`active`='1' AND p.`approved`='1' AND p.`instock`>'0' GROUP BY p.color_id]