Incorrect key file for table '/tmp/#sql_334_0.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 ('1818','5586','5585','4464','2861','3616','5239','4465','727','17484','17485','17486','10763','5784','10764','4332','5702','1230','1493','5785','17478','5772','4280','4260','10765','10766','10767','1665','5539','5462','5304','5305','5306','2978','2977','5348','4564','5227','944','493','4780','726','4779','203') ORDER BY pot.sort_order, _name_sort