Lost connection to MySQL server during query
SELECT `iProduct` FROM `ss6_pl_products` AS `products` LEFT JOIN `ss6_pl_products_stats` USING( `iProduct` ) WHERE `iStatus` >= 1 AND EXISTS ( SELECT 1 FROM `ss6_pl_products_pages` AS `products_pages` WHERE `products`.`iProduct` = `products_pages`.`iProduct` AND `products_pages`.`iPage` IN ( '4', '72', '133', '11', '35', '36', '15', '16', '93', '94', '99', '131', '122', '125', '100', '112', '118', '126', '101', '104', '105', '102', '103', '106', '140', '121', '132', '130', '108', '142', '141', '128', '114', '136', '124', '145', '116', '123', '113', '107', '109', '135', '120', '115', '110', '95', '96', '119', '143', '139', '117', '144', '97', '134', '98', '137', '129', '127', '68', '33', '34', '71', '61', '70', '75', '59', '58', '74', '73', '65', '62', '67', '17', '5', '6', '7', '8', '78', '77', '90', '91', '2', '9', '20', '22', '19', '32', '21', '18', '92' ) LIMIT 1 ) GROUP BY `iProduct` ORDER BY SUM(`iElement`) DESC LIMIT 5