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 ('27405','27403','27399','27398','27395','27389','24576','24577','27074','27073','24578','24579','27412','27411','27406','27410','27408','27407','27387','27385') ORDER BY pot.sort_order, _name_sort