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 ('27049','27050','27051','32022','32025','27052','27053','27054','6890','6891','6893','6894','12032','6896','12033','6887','6888','6889','6892','1278','6895','1279','6897','1280') ORDER BY pot.sort_order, _name_sort