Incorrect key file for table '/var/tmp/#sql39b_194_32.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 ('1036','1037','1042','1040','1041','966','1000','999','1002','1001','1189','1191','1193','1196','1198','1199','1200','1202','1203','1204','1205','1206','1213','1214','2025','1236','1237','2158') ORDER BY pot.sort_order, _name_sort