Incorrect key file for table '/var/tmp/#sql39b_191_18c.MYI'; try to repair it
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 ('2175','1038','2176','2177','2180','2181','1039','2194') ORDER BY pot.sort_order, _name_sort