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 ('29515','31035','29516','29517','29518','31036','29522','29526','29524','31037','29519','29527','31038','29528','29529') ORDER BY pot.sort_order, _name_sort