Lost connection to 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 ('156984','131066','6378','132164','58988','127041','157128','156115','153029','152142','157046','155633','150975','151284','77677','119739','150614','131810','127570','9632','66086','154691','150561','151190','135628','151285','152164','128005','157117','72359','140462','71304','72353','98799','135924','108471','76410','76377','154','128') AND pot.isvisible = 1 ORDER BY pot.sort_order, _name_sort