Query execution was interrupted
SELECT SQL_CALC_FOUND_ROWS `products`.*, `promoted`.`iPromotedMin`, `producers`.`sName` AS `prodsName`, `producers`.`sLogoUrl` AS `prodsLogoUrl`, `products`.`TiAvailable` AS `iAvailable`, `pa`.`iAttributeValue` AS `iSezon`, `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` INNER JOIN ( SELECT `iProduct` FROM `ss11_pl_products_pages` WHERE `iPage` = 66 ) AS `pp` 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` ) 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 ) ) WHERE 1 AND `products`.`TiStock` >= 1 AND `products`.`TiCanBuy` >= 1 AND ss11_pl_getProductVisibleForUser ( NULL, `products`.`iProduct` ) >= 1 AND `products`.`iStatus` >= 1 GROUP BY `products`.`iProduct` ORDER BY `products`.`TiCanBuy` DESC, `products`.`iPosition` ASC, `products`.`fPrice` ASC, `products`.`sName` ASC, `products`.`iTime` ASC LIMIT 0,60