Got error 28 from storage engine
SELECT pot.*, IF(LENGTH(pot.name_ru), pot.name_ru, pot.name_ru) AS _name_sort, povt.* FROM SC_product_options_values as povt LEFT JOIN SC_product_options as pot ON pot.optionID=povt.optionID WHERE povt.productID IN ('11597','11596','11594','11595','11589','11590','30164','30163','30162','30161','24603','24601','24599','24600','24580','11591') ORDER BY pot.sort_order, _name_sort