Got error 122 from storage engine
SELECT pot.*, 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 ('90650','90651','90647','90789','1091','1092','91248','8059','8073','8042') ORDER BY pot.sort_order, _name_sort