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 ('16584','16590','16568','16569','16567','16583','16596','16600','16664','16671','21871','12461','31771','6334','31747','31749','28847','12324','22715','22716','22729','27987','27989','18959') ORDER BY pot.sort_order, _name_sort