Got error 28 from storage engine
SELECT t.* FROM SC_product_options_templates_categoryes c LEFT JOIN SC_product_options_templates t on c.templateID = t.templateID where c.categoryID = 1754 AND t.templateEnable = 1 order by templatePriority ASC limit 0,1