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 ('194','135695','157317','59905','135692','153019','156114','68581','157308','111018','118792','65599','80826','155447','154610','44791','157016','90944','125192','158071','44793','157402','59609','156617','71292','155477','156616','61638','123012','150938','152983','156587','59888','155589','150969','69259','154760','71290','69257','106961','59611','157057','76374','60277','90940','111858','157399','157005','150810','89121','96149','158113','77496','127394','157257','96193','125815','76397','76387','68831','70437','111859','57811','68833','77293','70435','122819','138','157091','89204','96155','156093','157137','156759','150937','156092','158085','66116','130441','157114','156683','68580','141862','157113','157821','76389','125189','89291','108475','156950','155530','130607','81466','132928','71323','76434','130092','133930','174','146','166') AND pot.isvisible = 1 ORDER BY pot.sort_order, _name_sort