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 ('24781','24783','24784','24768','24770','24778','24777','24769','22282','22283','22284','22285','22286','22287','24776','28997','22288','22289','22290','22291','22292','22293','22294','22295') ORDER BY pot.sort_order, _name_sort