Lost connection to MySQL server during query
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 ('6234','5891','5889','5885','5886','5882','5887','5890','5888','5884','5883','5901','6012','6000','5999','5994','5998','6009','6008','5997','5996','6011','6006','6010','6013','6002','5995','6007','6001','6004','6005','6003','5900','5898','5897','5899','844','6196','5896','6197','5991','6241','5992','5796','5993','1440','3454','6194','5892','5895') ORDER BY pot.sort_order, _name_sort