Got error 28 from storage engine
SELECT SQL_CALC_FOUND_ROWS `products`.*, `ps`.`iProduct` `iProductSatis`, `promoted`.`iPromotedMin`, `producers`.`sName` AS `prodsName`, `producers`.`sLogoUrl` AS `prodsLogoUrl`, `prodgroups`.`sName` AS `prodsGroupName`, `prodgroups`.`sLogoUrl` AS `prodsGroupLogoUrl`, `producers`.`sType` AS `sProducersClass`, `products`.`TiAvailable` AS `iAvailable`, `ai`.*, `ai`.`iVal7` `iSezon`, `rating`.`fRatingAvg`, `rating`.`iCommentsCount`, `products`.`fPrice` AS `fCatalogPrice`, `vat`.`fVatValue`, ss11_pl_calculateProductPriceForUser( NULL, `products`.`iProduct`, 0 ) AS `fPrice`, LEAST( `products`.`TiCanBuy`, ss11_pl_getProductCanBuyForUser ( NULL, `products`.`iProduct` ) ) AS `iCanBuy`, `products`.`TiVariantsCount` AS `iVariantCount`, ss11_pl_getProductVisiblePriceForUser ( NULL, `products`.`iProduct` ) AS `iVisiblePrice` FROM `ss11_pl_products` AS `products` LEFT JOIN `opony_sklep`.`ss11_pl_products_attributes_flat` AS `ai` USING( `iProduct` ) LEFT JOIN ( SELECT MIN( `iPromoted` ) `iPromotedMin`, `iProduct` FROM `ss11_pl_products_promoted` GROUP BY `iProduct` ) `promoted` USING( `iProduct` ) INNER JOIN `ss11_vat` AS `vat` USING( `iVat` ) LEFT JOIN `ss11_pl_producers` AS `producers` USING( `iProducer` ) LEFT JOIN `ss11_pl_producers` AS `prodgroups` ON( prodgroups.`iProducer` = `producers`.`iProducersGroup` ) INNER JOIN `ss11_pl_products_variants` AS `pv` USING( `iProduct` ) LEFT JOIN `ss11_pl_products_attributes` AS `pa` ON( `pv`.`iProductVariant` = `pa`.`iProductVariant` AND `iAttributeValue` IN( 4, 5, 6 ) ) LEFT JOIN `ss11_pl_products_satis` AS `ps` ON( `products`.`iProduct` = `ps`.`iProduct` ) LEFT JOIN `rating` ON( `rating`.`iProducer` = `products`.`iProducer` AND `rating`.`iModel` = `iVal18` ) WHERE 1 AND `products`.`TiStock` >= 1 AND `products`.`TiCanBuy` >= 1 AND `products`.`iMainCategory` IN( 66, 67, 100, 1160, 3, 154, 155 ) AND `products`.`TiStock` >= 4 AND `products`.`iProduct` IN ( '103703', '80983', '80984', '103704', '85492', '103261', '96461', '161518' ) AND EXISTS ( SELECT 1 FROM `ss11_pl_products_pages` AS `products_pages` WHERE `products`.`iProduct` = `products_pages`.`iProduct` AND `products_pages`.`iPage` IN ( '1', '3', '66', '79', '133', '48', '49', '4', '5', '6', '7', '8', '17', '18', '19', '20', '2', '9', '10', '11', '22', '12', '13', '14', '15', '16', '59', '60', '61', '53', '55', '57', '56', '54', '62', '63', '64', '65', '58' ) LIMIT 1 ) AND ss11_pl_getProductVisibleForUser ( NULL, `products`.`iProduct` ) >= 1 AND `products`.`iStatus` >= 1 GROUP BY `products`.`iProduct` ORDER BY RAND() LIMIT 0,8