Lost connection to MySQL server during query
SELECT SQL_CALC_FOUND_ROWS p.*, IF(in_stock > 0, 1, 0 ) AS is_product, name_ru AS _name_sort FROM SC_products p WHERE enabled=1 AND brendID = 83 AND categoryID<>1 ORDER BY is_product DESC, _name_sort ASC LIMIT 0,20