Got error 28 from storage engine
SELECT SQL_CALC_FOUND_ROWS `products`.*, `promoted`.`iPromotedMin`, `producers`.`sName` AS `prodsName`, `producers`.`sLogoUrl` AS `prodsLogoUrl`, `products`.`TiAvailable` AS `iAvailable`, `products`.`fPrice` AS `fCatalogPrice`, `vat`.`fVatValue`, ss13_pl_calculateProductPriceForUser( NULL, `products`.`iProduct`, 0 ) AS `fPrice`, LEAST( `products`.`TiCanBuy`, ss13_pl_getProductCanBuyForUser ( NULL, `products`.`iProduct` ) ) AS `iCanBuy`, `products`.`TiVariantsCount` AS `iVariantCount`, ss13_pl_getProductVisiblePriceForUser ( NULL, `products`.`iProduct` ) AS `iVisiblePrice` FROM `ss13_pl_products` AS `products` LEFT JOIN ( SELECT MIN( `iPromoted` ) `iPromotedMin`, `iProduct` FROM `ss13_pl_products_promoted` WHERE `iTimeValid` IS NULL OR `iTimeValid` >= UNIX_TIMESTAMP() GROUP BY `iProduct` ) `promoted` USING( `iProduct` ) INNER JOIN `ss13_vat` AS `vat` USING( `iVat` ) LEFT JOIN `ss13_pl_producers` AS `producers` USING( `iProducer` ) WHERE 1 AND `TiCanBuy` >= 1 AND `products`.`iProduct` IN ( '30981', '32489', '25300', '31762', '30700', '25867', '35925', '21926', '35855', '36322', '36146', '35861', '22969', '36840', '29915', '25245' ) AND EXISTS ( SELECT 1 FROM `ss13_pl_products_pages` AS `products_pages` WHERE `products`.`iProduct` = `products_pages`.`iProduct` AND `products_pages`.`iPage` IN ( '3', '358', '540', '438', '416', '435', '485', '509', '433', '411', '538', '503', '506', '436', '536', '419', '428', '527', '507', '505', '443', '448', '453', '414', '504', '508', '360', '483', '533', '488', '539', '489', '534', '532', '437', '529', '418', '444', '513', '452', '486', '528', '426', '512', '542', '511', '439', '445', '454', '423', '484', '412', '430', '434', '450', '417', '440', '501', '510', '535', '442', '441', '424', '415', '386', '427', '432', '530', '420', '425', '385', '531', '460', '367', '458', '455', '365', '357', '196', '456', '370', '459', '368', '354', '364', '466', '356', '469', '467', '468', '470', '402', '1', '401', '471', '472', '473', '477', '462', '405', '478', '403', '474', '463', '461', '475', '479', '476', '480', '481', '464', '465', '323', '277', '526', '330', '214', '395', '197', '215', '514', '516', '320', '278', '225', '257', '318', '279', '280', '228', '227', '352', '350', '331', '281', '537', '282', '283', '332', '400', '224', '284', '285', '200', '541', '286', '525', '397', '333', '276', '287', '388', '205', '256', '258', '263', '259', '260', '262', '223', '288', '250', '524', '521', '518', '517', '515', '519', '520', '290', '291', '229', '230', '231', '232', '387', '255', '336', '233', '234', '392', '337', '292', '267', '266', '268', '235', '451', '338', '339', '294', '340', '295', '296', '297', '298', '236', '237', '272', '251', '389', '299', '342', '300', '391', '238', '239', '240', '343', '394', '253', '241', '341', '243', '242', '302', '269', '304', '305', '222', '390', '306', '344', '522', '393', '345', '307', '347', '261', '273', '274', '244', '346', '308', '309', '245', '275', '246', '482', '310', '301', '311', '348', '312', '313', '349', '317', '321', '322', '314', '315', '351', '248', '316', '249', '247', '499', '264', '490', '325', '265', '494', '324', '496', '413', '398', '495', '326', '329', '271', '492', '328', '491', '493', '327', '498', '449', '421', '37', '42', '49', '355', '34', '51', '4', '5', '6', '7', '8', '17', '18', '19', '20', '2', '406', '407', '9', '10', '11', '408', '22', '21', '12', '13', '14', '15', '16', '446', '60', '61', '62', '53', '55', '57', '56', '54', '63', '64', '65', '66', '58', '59' ) LIMIT 1 ) AND ss13_pl_getProductVisibleForUser ( NULL, `products`.`iProduct` ) >= 1 AND `products`.`iStatus` >= 1 AND `TiCanBuy` >= 1 ORDER BY RAND() LIMIT 0,16