Kits com 10% de desconto 

Foram encontrados 18 produtos.
por página
Mostrando 1 a 9 de 18 itens

Load Time6043 ms - You'd better run your shop on a toaster
Querying Time1432 ms
Queries122
Memory Peak Usage83.5 Mb
Included Files236 files - 4.32 Mb
PrestaShop Cache- Mb
Global vars0.63 Mb
PrestaShop Version1.6.1.1
PHP Version5.5.14 (OK)
MySQL Version5.5.37-log (Consider upgrading)
Memory Limit134217728
Max Execution Time240s
Smarty Cacheenabled
Smarty Compilationnever recompile
 TimeCumulated TimeMemory UsageMemory Peak Usage
config 2211 ms 2211 ms 6.74 Mb 83.48 Mb
__construct 0 ms 2211 ms - Mb 83.48 Mb
init 60 ms 2271 ms 2.54 Mb 83.48 Mb
checkAccess 0 ms 2271 ms - Mb 83.48 Mb
setMedia 34 ms 2304 ms 0.39 Mb 83.48 Mb
postProcess 0 ms 2304 ms - Mb 83.48 Mb
initHeader 0 ms 2305 ms 0.01 Mb 83.48 Mb
initContent 3614 ms 5918 ms 17.98 Mb 83.48 Mb
initFooter 100 ms 6018 ms 0.15 Mb 83.48 Mb
display 25 ms 6043 ms 1.31 Mb 83.48 Mb
Hook Time Memory Usage
__construct 100 ms - Mb
hookdisplayHeader 90 ms - Mb
hookHeader 70 ms - Mb
hookproductlistassign 20 ms - Mb
hookdisplayNav 20 ms - Mb
hookfooter 20 ms - Mb
hookdisplayTop 10 ms - Mb
hooktop 10 ms - Mb
hookdisplayFooter - ms - Mb
hookdisplayBanner - ms - Mb
hookdisplayTopColumn - ms - Mb
hookdisplayRightColumn - ms - Mb
hookleftcolumn - ms - Mb
hookdisplayLeftColumn - ms - Mb
14 hooks 340 ms - Mb
Module Time Memory Usage
bestwidget 100 ms - Mb
blocklayered 90 ms - Mb
blocktopmenu 30 ms - Mb
fkpagseguroct 10 ms - Mb
blockviewed 10 ms - Mb
blockcategories 10 ms - Mb
blocknewproducts 10 ms - Mb
blockpermanentlinks 10 ms - Mb
blocknewsletter 10 ms - Mb
blocktags 10 ms - Mb
notifymewhenstock 10 ms - Mb
blockcurrencies 10 ms - Mb
ganalytics 10 ms - Mb
blockcms 10 ms - Mb
blockcart 10 ms - Mb
fkcorreiosg2 - ms - Mb
sekeywords - ms - Mb
pagesnotfound - ms - Mb
productvideos - ms - Mb
crossselling - ms - Mb
blockcontactinfos - ms - Mb
productscategory - ms - Mb
blockbestsellers - ms - Mb
blockfacebook - ms - Mb
blockcontact - ms - Mb
blockspecials - ms - Mb
blocksocial - ms - Mb
blockmanufacturer - ms - Mb
blocksearch - ms - Mb
homefeatured - ms - Mb
productcomments - ms - Mb
blocksupplier - ms - Mb
blockstore - ms - Mb
blockuserinfo - ms - Mb
34 modules 340 ms - Mb

Stopwatch SQL - 122 queries

Query Time (ms) Rows Filesort Group By Location
SELECT SQL_NO_CACHE c.`name`, cl.`id_lang`, IF(cl.`id_lang` IS NULL, c.`value`, cl.`value`) AS value, c.id_shop_group, c.id_shop
FROM `ps_configuration` c
LEFT JOIN `ps_configuration_lang` cl ON (c.`id_configuration` = cl.`id_configuration`)
1238.4 291505 /classes/Configuration.php:150
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 282) AND (b.`id_shop` = 1) LIMIT 1
41.2 1 /Adapter/Adapter_EntityMapper.php:61
SELECT SQL_NO_CACHE p.*, product_shop.*, pl.*, image_shop.`id_image` id_image, il.`legend`, cl.`name` AS category_default, a.quantity AS pack_quantity, product_shop.`id_category_default`, a.id_product_pack, a.id_product_attribute_item
FROM `ps_pack` a
LEFT JOIN `ps_product` p ON p.id_product = a.id_product_item
LEFT JOIN `ps_product_lang` pl
ON p.id_product = pl.id_product
AND pl.`id_lang` = 1 AND pl.id_shop = 1 
LEFT JOIN `ps_image_shop` image_shop
ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop=1)
LEFT JOIN `ps_image_lang` il ON (image_shop.`id_image` = il.`id_image` AND il.`id_lang` = 1)
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `ps_category_lang` cl
ON product_shop.`id_category_default` = cl.`id_category`
AND cl.`id_lang` = 1 AND cl.id_shop = 1 
WHERE product_shop.`id_shop` = 1
AND a.`id_product_pack` = 282
GROUP BY a.`id_product_item`, a.`id_product_attribute_item`
41 4 Yes /classes/Pack.php:196
SELECT SQL_NO_CACHE p.*, product_shop.*, stock.out_of_stock, IFNULL(stock.quantity, 0) AS quantity, pl.`description`, pl.`description_short`, pl.`available_now`,
pl.`available_later`, pl.`link_rewrite`, pl.`meta_description`, pl.`meta_keywords`, pl.`meta_title`, pl.`name`, image_shop.`id_image` id_image,
il.`legend` as legend, m.`name` AS manufacturer_name, cl.`name` AS category_default,
DATEDIFF(product_shop.`date_add`, DATE_SUB("2020-01-19 00:00:00",
INTERVAL 0 DAY)) > 0 AS new, product_shop.price AS orderprice
FROM `ps_category_product` cp
LEFT JOIN `ps_product` p
ON p.`id_product` = cp.`id_product`
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN ps_stock_available stock
ON (stock.id_product = p.id_product AND stock.id_product_attribute = 0 AND stock.id_shop = 1  AND stock.id_shop_group = 0  )
LEFT JOIN `ps_category_lang` cl
ON (product_shop.`id_category_default` = cl.`id_category`
AND cl.`id_lang` = 1 AND cl.id_shop = 1 )
LEFT JOIN `ps_product_lang` pl
ON (p.`id_product` = pl.`id_product`
AND pl.`id_lang` = 1 AND pl.id_shop = 1 )
LEFT JOIN `ps_image_shop` image_shop
ON (image_shop.`id_product` = p.`id_product` AND image_shop.cover=1 AND image_shop.id_shop=1)
LEFT JOIN `ps_image_lang` il
ON (image_shop.`id_image` = il.`id_image`
AND il.`id_lang` = 1)
LEFT JOIN `ps_manufacturer` m
ON m.`id_manufacturer` = p.`id_manufacturer`
WHERE product_shop.`id_shop` = 1
AND cp.`id_category` = 113 AND product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog") GROUP BY cp.id_product ORDER BY cp.`position` ASC
LIMIT 0,9
39.7 33 Yes Yes /classes/Category.php:782
SELECT SQL_NO_CACHE `id_hook`, `name`
FROM `ps_hook`
UNION
SELECT `id_hook`, ha.`alias` as name
FROM `ps_hook_alias` ha
INNER JOIN `ps_hook` h ON ha.name = h.name
2.4 0 /classes/Hook.php:131
CREATE TEMPORARY TABLE ps_cat_restriction ENGINE=MEMORY
SELECT DISTINCT cp.id_product, p.id_manufacturer, product_shop.condition, p.weight FROM ps_category c
STRAIGHT_JOIN ps_category_product cp ON (c.id_category = cp.id_category AND
c.nleft >= 31
AND c.nright <= 32
AND c.active = 1)
STRAIGHT_JOIN ps_product_shop product_shop ON (product_shop.id_product = cp.id_product
AND product_shop.id_shop = 1)
STRAIGHT_JOIN ps_product p ON (p.id_product=cp.id_product)
WHERE product_shop.`active` = 1 AND product_shop.`visibility` IN ("both", "catalog")
1.1 1 /modules/blocklayered/blocklayered.php:2136
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 237)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
1 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 198)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
1 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE * FROM `ps_hook_module_exceptions`
WHERE `id_shop` IN (1)
1 305 /classes/module/Module.php:2142
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 283)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
1 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 236)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
1 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 252)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.9 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 230)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.9 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 200)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.9 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 232)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.9 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 235)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.9 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 231) AND (b.`id_shop` = 1) LIMIT 1
0.9 1 /Adapter/Adapter_EntityMapper.php:61
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 249)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.9 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 234) AND (b.`id_shop` = 1) LIMIT 1
0.8 1 /Adapter/Adapter_EntityMapper.php:61
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 299)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 282)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 5 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 244)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 289)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 5 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 250)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 233) AND (b.`id_shop` = 1) LIMIT 1
0.8 1 /Adapter/Adapter_EntityMapper.php:61
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 246)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 231)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 247)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 248)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = 1
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = 1
WHERE (a.`id_product` = 237) AND (b.`id_shop` = 1) LIMIT 1
0.8 1 /Adapter/Adapter_EntityMapper.php:61
SELECT SQL_NO_CACHE type, id_value, filter_show_limit, filter_type FROM ps_layered_category
WHERE id_category = 113
AND id_shop = 1
GROUP BY `type`, id_value ORDER BY position ASC
0.8 1 Yes Yes /modules/blocklayered/blocklayered.php:2122
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 222)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 286)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 234)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 253)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 199)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.8 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 300)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.7 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 233)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.7 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 245)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.7 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE `name`, `meta_title`, `meta_description`, `meta_keywords`, `description`
FROM `ps_category_lang` cl
WHERE cl.`id_lang` = 1
AND cl.`id_category` = 113 AND cl.id_shop = 1 LIMIT 1
0.7 1 /classes/Meta.php:291
SELECT SQL_NO_CACHE pa.`id_product`, a.`color`, pac.`id_product_attribute`, 0 qty, a.`id_attribute`, al.`name`, IF(color = "", a.id_attribute, color) group_by
FROM `ps_product_attribute` pa
INNER JOIN ps_product_attribute_shop product_attribute_shop
ON (product_attribute_shop.id_product_attribute = pa.id_product_attribute AND product_attribute_shop.id_shop = 1)
JOIN `ps_product_attribute_combination` pac ON (pac.`id_product_attribute` = product_attribute_shop.`id_product_attribute`)
JOIN `ps_attribute` a ON (a.`id_attribute` = pac.`id_attribute`)
JOIN `ps_attribute_lang` al ON (a.`id_attribute` = al.`id_attribute` AND al.`id_lang` = 1)
JOIN `ps_attribute_group` ag ON (a.id_attribute_group = ag.`id_attribute_group`)
WHERE pa.`id_product` IN (289,296,286,282,283,200,287,300,299) AND ag.`is_color_group` = 1
GROUP BY pa.`id_product`, a.`id_attribute`, `group_by`
ORDER BY a.`position` ASC;
0.7 1 Yes Yes /classes/Product.php:3430
SELECT SQL_NO_CACHE s.*
FROM `ps_scene_category` sc
LEFT JOIN `ps_scene` s ON (sc.id_scene = s.id_scene)
INNER JOIN ps_scene_shop scene_shop
ON (scene_shop.id_scene = s.id_scene AND scene_shop.id_shop = 1)
LEFT JOIN `ps_scene_lang` sl ON (sl.id_scene = s.id_scene)
WHERE sc.id_category = 113
AND sl.id_lang = 1 AND s.active = 1
ORDER BY sl.name ASC
0.7 1 Yes /classes/Scene.php:226
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 296)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.7 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 287)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.7 6 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_flush) as last_flush FROM `ps_smarty_last_flush` WHERE type='compile' LIMIT 1
0.7 1 /classes/SmartyCustom.php:95
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 251)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.7 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|289|1|1" AND compile_id="" LIMIT 1
0.7 0 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE data FROM `ps_layered_friendly_url` WHERE `url_key` = '8880e69c595b80c5579b0d69e4308777' LIMIT 1
0.7 1 /modules/blocklayered/blocklayered.php:1722
SELECT SQL_NO_CACHE *, ( IF (`id_group` = 1, 2, 0) +  IF (`id_country` = 58, 4, 0) +  IF (`id_currency` = 1, 8, 0) +  IF (`id_shop` = 1, 16, 0) +  IF (`id_customer` = 0, 32, 0)) AS `score`
FROM `ps_specific_price` USE INDEX (id_product_2)
WHERE `id_product` IN (0, 254)
AND `id_product_attribute` IN (0, 0)
AND `id_shop` IN (0, 1)
AND `id_currency` IN (0, 1)
AND `id_country` IN (0, 58)
AND `id_group` IN (0, 1)
AND `id_customer` IN (0, 0)
AND
(
(`from` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' >= `from`)
AND
(`to` = '0000-00-00 00:00:00' OR '2020-01-19 17:19:00' <= `to`)
)
AND id_cart IN (0, 0)
AND IF(`from_quantity` > 1, `from_quantity`, 0) <= 1 ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT 1
0.6 4 Yes /classes/SpecificPrice.php:236
SELECT SQL_NO_CACHE ctg.`id_group`
FROM ps_category_group ctg
WHERE ctg.`id_category` = 113 AND ctg.`id_group` = 1 LIMIT 1
0.6 1 /classes/Category.php:1308
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
0 as id_product_attribute
FROM `ps_product` p
INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
WHERE (p.`id_product` = 234)
0.6 1 /classes/Product.php:2961
SELECT SQL_NO_CACHE out_of_stock
FROM `ps_stock_available`
WHERE (id_product = 237) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.6 1 /classes/stock/StockAvailable.php:670
SELECT SQL_NO_CACHE COUNT(cp.`id_product`) AS total
FROM `ps_product` p
INNER JOIN ps_product_shop product_shop
ON (product_shop.id_product = p.id_product AND product_shop.id_shop = 1)
LEFT JOIN `ps_category_product` cp ON p.`id_product` = cp.`id_product`
WHERE cp.`id_category` = 113 AND product_shop.`visibility` IN ("both", "catalog") AND product_shop.`active` = 1 LIMIT 1
0.6 33 /classes/Category.php:710
SELECT SQL_NO_CACHE depends_on_stock
FROM `ps_stock_available`
WHERE (id_product = 233) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.6 1 /classes/stock/StockAvailable.php:646
DELETE FROM `ps_smarty_lazy_cache`
WHERE template_hash='9574d78952ad36cf5aaff30c951c463c' AND cache_id LIKE "productlist_colors|289|1|1%"
0.6 1 /classes/SmartyCustom.php:295
SELECT SQL_NO_CACHE `reduction`
FROM `ps_product_group_reduction_cache`
WHERE `id_product` = 231 AND `id_group` = 1 LIMIT 1
0.6 0 /classes/GroupReduction.php:149
SELECT SQL_NO_CACHE `id_tax_rules_group`
FROM `ps_product_shop`
WHERE `id_product` = 231 AND id_shop=1 LIMIT 1
0.6 1 /classes/Product.php:4996
SELECT SQL_NO_CACHE `id_tax_rules_group`
FROM `ps_product_shop`
WHERE `id_product` = 237 AND id_shop=1 LIMIT 1
0.5 1 /classes/Product.php:4996
SELECT SQL_NO_CACHE `priority`, `id_specific_price_priority`
FROM `ps_specific_price_priority`
WHERE `id_product` = 237
ORDER BY `id_specific_price_priority` DESC LIMIT 1
0.5 1 /classes/SpecificPrice.php:188
SELECT SQL_NO_CACHE COUNT(*) FROM `ps_pack` WHERE id_product_pack = 231 LIMIT 1
0.5 1 /classes/Pack.php:50
SELECT SQL_NO_CACHE out_of_stock
FROM `ps_stock_available`
WHERE (id_product = 231) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:670
SELECT SQL_NO_CACHE SUM(quantity)
FROM `ps_stock_available`
WHERE (id_product = 282) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:378
DELETE FROM `ps_smarty_lazy_cache`
WHERE template_hash='9574d78952ad36cf5aaff30c951c463c' AND cache_id LIKE "productlist_colors|287|1|1%"
0.5 1 /classes/SmartyCustom.php:295
SELECT SQL_NO_CACHE `id_tax_rules_group`
FROM `ps_product_shop`
WHERE `id_product` = 234 AND id_shop=1 LIMIT 1
0.5 1 /classes/Product.php:4996
SELECT SQL_NO_CACHE COUNT(*)
FROM ps_layered_category
WHERE id_category = 113
AND id_shop = 1 LIMIT 1
0.5 1 /modules/blocklayered/blocklayered.php:637
SELECT SQL_NO_CACHE `priority`, `id_specific_price_priority`
FROM `ps_specific_price_priority`
WHERE `id_product` = 231
ORDER BY `id_specific_price_priority` DESC LIMIT 1
0.5 1 /classes/SpecificPrice.php:188
SELECT SQL_NO_CACHE SUM(quantity)
FROM `ps_stock_available`
WHERE (id_product = 231) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:378
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='e51976bfb8be421c53dc15d4e56323ad' AND cache_id="blocksearch-top|1|1|58" AND compile_id="" LIMIT 1
0.5 1 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE `reduction`
FROM `ps_product_group_reduction_cache`
WHERE `id_product` = 234 AND `id_group` = 1 LIMIT 1
0.5 0 /classes/GroupReduction.php:149
SELECT SQL_NO_CACHE SUM(quantity)
FROM `ps_stock_available`
WHERE (id_product = 234) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:378
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
0 as id_product_attribute
FROM `ps_product` p
INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
WHERE (p.`id_product` = 233)
0.5 1 /classes/Product.php:2961
SELECT SQL_NO_CACHE value FROM ps_configuration WHERE name= 'PS_CACHEFS_DIRECTORY_DEPTH' LIMIT 1
0.5 1 /classes/cache/CacheFs.php:36
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
0 as id_product_attribute
FROM `ps_product` p
INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
WHERE (p.`id_product` = 231)
0.5 1 /classes/Product.php:2961
SELECT SQL_NO_CACHE depends_on_stock
FROM `ps_stock_available`
WHERE (id_product = 237) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:646
SELECT SQL_NO_CACHE out_of_stock
FROM `ps_stock_available`
WHERE (id_product = 234) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:670
SELECT SQL_NO_CACHE COUNT(*) FROM `ps_pack` WHERE id_product_pack = 233 LIMIT 1
0.5 1 /classes/Pack.php:50
SELECT SQL_NO_CACHE `reduction`
FROM `ps_product_group_reduction_cache`
WHERE `id_product` = 237 AND `id_group` = 1 LIMIT 1
0.5 0 /classes/GroupReduction.php:149
SELECT SQL_NO_CACHE `priority`, `id_specific_price_priority`
FROM `ps_specific_price_priority`
WHERE `id_product` = 234
ORDER BY `id_specific_price_priority` DESC LIMIT 1
0.5 1 /classes/SpecificPrice.php:188
SELECT SQL_NO_CACHE id_product_item, id_product_attribute_item, quantity FROM `ps_pack` where id_product_pack = 282
0.5 4 /classes/Pack.php:122
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
0 as id_product_attribute
FROM `ps_product` p
INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
WHERE (p.`id_product` = 282)
0.5 1 /classes/Product.php:2961
DELETE FROM `ps_smarty_lazy_cache`
WHERE template_hash='9574d78952ad36cf5aaff30c951c463c' AND cache_id LIKE "productlist_colors|282|1|1%"
0.5 1 /classes/SmartyCustom.php:295
SELECT SQL_NO_CACHE `priority`, `id_specific_price_priority`
FROM `ps_specific_price_priority`
WHERE `id_product` = 282
ORDER BY `id_specific_price_priority` DESC LIMIT 1
0.5 1 /classes/SpecificPrice.php:188
SELECT SQL_NO_CACHE SUM(quantity)
FROM `ps_stock_available`
WHERE (id_product = 237) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:378
SELECT SQL_NO_CACHE depends_on_stock
FROM `ps_stock_available`
WHERE (id_product = 234) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:646
SELECT SQL_NO_CACHE out_of_stock
FROM `ps_stock_available`
WHERE (id_product = 233) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.5 1 /classes/stock/StockAvailable.php:670
SELECT SQL_NO_CACHE COUNT(*) FROM `ps_pack` WHERE id_product_pack = 234 LIMIT 1
0.5 1 /classes/Pack.php:50
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='073dfd0f5ca3fe5bd8645fb47489b8e5' AND cache_id="blocktopmenu|1|1|58|category|113" AND compile_id="" LIMIT 1
0.5 1 /classes/SmartyCustom.php:215
DELETE FROM `ps_smarty_lazy_cache`
WHERE template_hash='9574d78952ad36cf5aaff30c951c463c' AND cache_id LIKE "productlist_colors|283|1|1%"
0.5 1 /classes/SmartyCustom.php:295
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='8313f9825a0283f06187b5c71c049a69' AND cache_id="blockcms|2|1|1|58" AND compile_id="" LIMIT 1
0.5 1 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE `reduction`
FROM `ps_product_group_reduction_cache`
WHERE `id_product` = 282 AND `id_group` = 1 LIMIT 1
0.5 0 /classes/GroupReduction.php:149
ALTER TABLE ps_cat_restriction ADD PRIMARY KEY (id_product),
ADD KEY `id_manufacturer` (`id_manufacturer`,`id_product`) USING BTREE,
ADD KEY `condition` (`condition`,`id_product`) USING BTREE,
ADD KEY `weight` (`weight`,`id_product`) USING BTREE
0.5 1 /modules/blocklayered/blocklayered.php:2142
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='cbc3a29d4f3113536df4c50c0c3784a0' AND cache_id="blocksocial|1|1|58" AND compile_id="" LIMIT 1
0.5 1 /classes/SmartyCustom.php:215
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|296|1|1","","2020-01-19 17:19:09")
0.5 1 /classes/SmartyCustom.php:263
DROP TEMPORARY TABLE IF EXISTS ps_cat_restriction
0.4 1 /modules/blocklayered/blocklayered.php:2126
SELECT SQL_NO_CACHE product_shop.`price`, product_shop.`ecotax`,
0 as id_product_attribute
FROM `ps_product` p
INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product=p.id_product AND product_shop.id_shop = 1)
WHERE (p.`id_product` = 237)
0.4 1 /classes/Product.php:2961
SELECT SQL_NO_CACHE COUNT(*) FROM `ps_pack` WHERE id_product_pack = 237 LIMIT 1
0.4 1 /classes/Pack.php:50
SELECT SQL_NO_CACHE depends_on_stock
FROM `ps_stock_available`
WHERE (id_product = 231) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.4 1 /classes/stock/StockAvailable.php:646
SELECT SQL_NO_CACHE SUM(quantity)
FROM `ps_stock_available`
WHERE (id_product = 233) AND (id_product_attribute = 0) AND (id_shop = 1) AND (id_shop_group = 0) LIMIT 1
0.4 1 /classes/stock/StockAvailable.php:378
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|287|1|1" AND compile_id="" LIMIT 1
0.4 0 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE `reduction`
FROM `ps_product_group_reduction_cache`
WHERE `id_product` = 233 AND `id_group` = 1 LIMIT 1
0.4 0 /classes/GroupReduction.php:149
SELECT SQL_NO_CACHE `id_tax_rules_group`
FROM `ps_product_shop`
WHERE `id_product` = 233 AND id_shop=1 LIMIT 1
0.4 1 /classes/Product.php:4996
SELECT SQL_NO_CACHE `priority`, `id_specific_price_priority`
FROM `ps_specific_price_priority`
WHERE `id_product` = 233
ORDER BY `id_specific_price_priority` DESC LIMIT 1
0.4 1 /classes/SpecificPrice.php:188
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|296|1|1" AND compile_id="" LIMIT 1
0.4 0 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='6d4021b6746a542135d3f9f7c5647a12' AND cache_id="blockcategories|1|1|58|113|1" AND compile_id="" LIMIT 1
0.4 1 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE `id_tax_rules_group`
FROM `ps_product_shop`
WHERE `id_product` = 282 AND id_shop=1 LIMIT 1
0.4 1 /classes/Product.php:4996
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|299|1|1" AND compile_id="" LIMIT 1
0.4 1 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|300|1|1" AND compile_id="" LIMIT 1
0.4 1 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|282|1|1" AND compile_id="" LIMIT 1
0.4 0 /classes/SmartyCustom.php:215
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|200|1|1","","2020-01-19 17:19:09")
0.4 1 /classes/SmartyCustom.php:263
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='a105af890fb6ec9d6712e2c495c85004' AND cache_id="blockpermanentlinks-header|1|1|58" AND compile_id="" LIMIT 1
0.4 1 /classes/SmartyCustom.php:215
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|296|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|200|1|1" AND compile_id="" LIMIT 1
0.3 0 /classes/SmartyCustom.php:215
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|286|1|1" AND compile_id="" LIMIT 1
0.3 0 /classes/SmartyCustom.php:215
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|300|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
WHERE `template_hash`='9574d78952ad36cf5aaff30c951c463c' AND cache_id="productlist_colors|283|1|1" AND compile_id="" LIMIT 1
0.3 0 /classes/SmartyCustom.php:215
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|200|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
SELECT SQL_NO_CACHE UNIX_TIMESTAMP(last_flush) as last_flush FROM `ps_smarty_last_flush` WHERE type='template' LIMIT 1
0.3 1 /classes/SmartyCustom.php:142
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|300|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|299|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|286|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|286|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263
INSERT IGNORE INTO `ps_smarty_lazy_cache`
(`template_hash`, `cache_id`, `compile_id`, `last_update`)
VALUES ('9574d78952ad36cf5aaff30c951c463c',"productlist_colors|299|1|1","","2020-01-19 17:19:09")
0.3 1 /classes/SmartyCustom.php:263

Doubles

31
			SELECT *, ( IF (`id_group` = XX, XX, XX) +  IF (`id_country` = XX, XX, XX) +  IF (`id_currency` = XX, XX, XX) +  IF (`id_shop` = XX, XX, XX) +  IF (`id_customer` = XX, XX, XX)) AS `score`
				FROM `ps_specific_price` USE INDEX (id_product_XX)
				WHERE `id_product` IN (XX, XX)
				AND `id_product_attribute` IN (XX, XX)
				AND `id_shop` IN (XX, XX)
				AND `id_currency` IN (XX, XX)
				AND `id_country` IN (XX, XX)
				AND `id_group` IN (XX, XX)
				AND `id_customer` IN (XX, XX)
				AND
				(
					(`from` = 'XX-XX-XX XX:XX:XX' OR 'XX-XX-XX XX:XX:XX' >= `from`)
					AND
					(`to` = 'XX-XX-XX XX:XX:XX' OR 'XX-XX-XX XX:XX:XX' <= `to`)
				)
				AND id_cart IN (XX, XX)
				AND IF(`from_quantity` > XX, `from_quantity`, XX) <= XX ORDER BY `id_product_attribute` DESC, `from_quantity` DESC, `id_specific_price_rule` ASC, `score` DESC, `to` DESC, `from` DESC LIMIT XX
10
INSERT IGNORE INTO `ps_smarty_lazy_cache`
							(`template_hash`, `cache_id`, `compile_id`, `last_update`)
							VALUES (XX,"productlist_colors|XX|XX|XX","","XX-XX-XX XX:XX:XX")
9
SELECT UNIX_TIMESTAMP(last_update) as last_update, filepath FROM `ps_smarty_lazy_cache`
							WHERE `template_hash`=XX AND cache_id="productlist_colors|XX|XX|XX" AND compile_id="" LIMIT XX
5
			SELECT `reduction`
			FROM `ps_product_group_reduction_cache`
			WHERE `id_product` = XX AND `id_group` = XX LIMIT XX
5
SELECT SUM(quantity)
FROM `ps_stock_available`
WHERE (id_product = XX) AND (id_product_attribute = XX) AND (id_shop = XX) AND (id_shop_group = XX) LIMIT XX
5
							SELECT `id_tax_rules_group`
							FROM `ps_product_shop`
							WHERE `id_product` = XX AND id_shop=XX LIMIT XX
5
SELECT *
FROM `ps_product` a
LEFT JOIN `ps_product_lang` `b` ON a.`id_product` = b.`id_product` AND b.`id_lang` = XX
LEFT JOIN `ps_product_shop` `c` ON a.`id_product` = c.`id_product` AND c.`id_shop` = XX
WHERE (a.`id_product` = XX) AND (b.`id_shop` = XX) LIMIT XX
5
				SELECT `priority`, `id_specific_price_priority`
				FROM `ps_specific_price_priority`
				WHERE `id_product` = XX
				ORDER BY `id_specific_price_priority` DESC LIMIT XX
5
SELECT product_shop.`price`, product_shop.`ecotax`,
XX as id_product_attribute
FROM `ps_product` p
INNER JOIN `ps_product_shop` product_shop ON (product_shop.id_product=p.id_product AND product_shop.id_shop = XX)
WHERE (p.`id_product` = XX)
4
SELECT out_of_stock
FROM `ps_stock_available`
WHERE (id_product = XX) AND (id_product_attribute = XX) AND (id_shop = XX) AND (id_shop_group = XX) LIMIT XX
4
SELECT COUNT(*) FROM `ps_pack` WHERE id_product_pack = XX LIMIT XX
4
SELECT depends_on_stock
FROM `ps_stock_available`
WHERE (id_product = XX) AND (id_product_attribute = XX) AND (id_shop = XX) AND (id_shop_group = XX) LIMIT XX
4
DELETE FROM `ps_smarty_lazy_cache`
							WHERE template_hash=XX AND cache_id LIKE "productlist_colors|XX|XX|XX%"

Tables stress

31 specific_price
19 product_shop
19 smarty_lazy_cache
14 stock_available
14 product
7 product_lang
6 pack
5 specific_price_priority
5 product_group_reduction_cache
3 category_product
3 category_lang
2 smarty_last_flush
2 image_shop
2 hook
2 configuration
2 image_lang
2 layered_category
1 product_attribute
1 scene_shop
1 scene_lang
1 product_attribute_shop
1 product_attribute_combination
1 attribute_group
1 attribute_lang
1 attribute
1 configuration_lang
1 scene
1 category_group
1 hook_module_exceptions
1 hook_alias
1 category
1 manufacturer
1 layered_friendly_url
1 scene_category

ObjectModel instances

NameInstancesSource
Product 39 /classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Pack.php [125]
/classes/Link.php [104]
/classes/Pack.php [125]
/classes/Pack.php [125]
Category 3 /controllers/front/CategoryController.php [105]
/classes/Link.php [177]
/modules/blocklayered/blocklayered.php [2114]
Currency 2 /classes/Tools.php [612]
/modules/ganalytics/ganalytics.php [471]
Address 2 /classes/Product.php [2904]
/classes/Product.php [4367]
Language 2 /config/config.inc.php [195]
/classes/Tools.php [498]
Country 2 /config/config.inc.php [142]
/classes/controller/FrontController.php [279]
Cart 1 /classes/controller/FrontController.php [348]
Group 1 /classes/Cart.php [184]
Customer 1 /config/config.inc.php [217]
Theme 1 /config/config.inc.php [115]
ShopGroup 1 /classes/shop/Shop.php [518]
Shop 1 /config/config.inc.php [114]

Included Files

#Filename
1/index.php
2/config/config.inc.php
3/config/defines.inc.php
4/config/settings.inc.php
5/config/autoload.php
6/config/alias.php
7/classes/PrestaShopAutoload.php
8/cache/class_index.php
9/config/bootstrap.php
10/Core/Business/Core_Business_ContainerBuilder.php
11/Core/Foundation/IoC/Core_Foundation_IoC_Container.php
12/Adapter/Adapter_ServiceLocator.php
13/classes/controller/Controller.php
14/classes/ObjectModel.php
15/Core/Foundation/Database/Core_Foundation_Database_EntityInterface.php
16/classes/db/Db.php
17/classes/Tools.php
18/classes/Context.php
19/classes/shop/Shop.php
20/classes/db/DbPDO.php
21/classes/cache/Cache.php
22/classes/cache/CacheFs.php
23/classes/Configuration.php
24/classes/Validate.php
25/Adapter/Adapter_EntityMapper.php
26/classes/db/DbQuery.php
27/classes/Theme.php
28/config/defines_uri.inc.php
29/tools/htmlpurifier/HTMLPurifier.standalone.php
30/classes/Language.php
31/classes/Country.php
32/classes/PrestaShopCollection.php
33/classes/shop/ShopGroup.php
34/classes/Cookie.php
35/classes/Blowfish.php
36/classes/Customer.php
37/classes/Group.php
38/classes/Link.php
39/classes/shop/ShopUrl.php
40/config/smarty.config.inc.php
41/tools/smarty/Smarty.class.php
42/tools/smarty/sysplugins/smarty_internal_data.php
43/tools/smarty/sysplugins/smarty_internal_templatebase.php
44/tools/smarty/sysplugins/smarty_internal_template.php
45/tools/smarty/sysplugins/smarty_resource.php
46/tools/smarty/sysplugins/smarty_internal_resource_file.php
47/tools/smarty/sysplugins/smarty_cacheresource.php
48/tools/smarty/sysplugins/smarty_internal_cacheresource_file.php
49/classes/SmartyCustom.php
50/config/smartyfront.config.inc.php
51/classes/Dispatcher.php
52/classes/Hook.php
53/tools/mobile_Detect/Mobile_Detect.php
54/config/db_slave_server.inc.php
55/controllers/front/CategoryController.php
56/classes/controller/FrontController.php
57/classes/Category.php
58/themes/vp_cosmetics/lang/br.php
59/classes/Currency.php
60/classes/Cart.php
61/classes/CartRule.php
62/classes/Meta.php
63/classes/Product.php
64/classes/webservice/WebserviceRequest.php
65/classes/Media.php
66/classes/Scene.php
67/classes/module/Module.php
68/modules/blockviewed/blockviewed.php
69/classes/Translate.php
70/modules/blockviewed/translations/br.php
71/modules/blockcart/blockcart.php
72/modules/blockcart/translations/br.php
73/modules/blocksocial/blocksocial.php
74/modules/blocksocial/translations/br.php
75/modules/blockspecials/blockspecials.php
76/modules/blockspecials/translations/br.php
77/modules/blockcontact/blockcontact.php
78/modules/blockcontact/translations/br.php
79/modules/blockfacebook/blockfacebook.php
80/modules/blockfacebook/translations/br.php
81/modules/blocklayered/blocklayered.php
82/modules/blocklayered/translations/br.php
83/modules/blockcurrencies/blockcurrencies.php
84/modules/blockcurrencies/translations/br.php
85/modules/blockmanufacturer/blockmanufacturer.php
86/modules/blockmanufacturer/translations/br.php
87/modules/blockcms/blockcms.php
88/modules/blockcms/BlockCMSModel.php
89/modules/blockcms/translations/br.php
90/modules/blocktags/blocktags.php
91/modules/blocktags/translations/br.php
92/modules/blocknewsletter/blocknewsletter.php
93/modules/blocknewsletter/translations/br.php
94/modules/blocksearch/blocksearch.php
95/modules/blocksearch/translations/br.php
96/modules/blockstore/blockstore.php
97/modules/blockstore/translations/br.php
98/modules/blocksupplier/blocksupplier.php
99/modules/blocksupplier/translations/br.php
100/modules/productcomments/productcomments.php
101/modules/productcomments/translations/br.php
102/modules/blockbestsellers/blockbestsellers.php
103/modules/blockbestsellers/translations/br.php
104/modules/homefeatured/homefeatured.php
105/modules/homefeatured/translations/br.php
106/modules/blockpermanentlinks/blockpermanentlinks.php
107/modules/blockpermanentlinks/translations/br.php
108/modules/blockuserinfo/blockuserinfo.php
109/modules/blockuserinfo/translations/br.php
110/modules/blocknewproducts/blocknewproducts.php
111/modules/blocknewproducts/translations/br.php
112/modules/blockcategories/blockcategories.php
113/modules/blockcategories/translations/br.php
114/modules/blockcontactinfos/blockcontactinfos.php
115/modules/blockcontactinfos/translations/br.php
116/modules/fkcorreiosg2/fkcorreiosg2.php
117/modules/fkcorreiosg2/models/FKcorreiosg2Class.php
118/modules/fkcorreiosg2/models/FKcorreiosg2FreteClass.php
119/modules/fkcorreiosg2/models/CorreiosClass.php
120/classes/module/CarrierModule.php
121/modules/productscategory/productscategory.php
122/modules/productscategory/translations/br.php
123/modules/bestwidget/bestwidget.php
124/modules/bestwidget/libs/config.php
125/cache/smarty/cache/blockpermanentlinks_header/1/1/58/9f/6b/98/9f6b98bb550216cb52dd7763a4d54b792bf87ac2.blockpermanentlinks-header.tpl.php
126/cache/smarty/compile/e5/18/dc/e518dc1f7c28a6035c1cdd0b57441e4f20a34377.file.bestwidget.tpl.php
127/cache/smarty/compile/0e/8c/7d/0e8c7d3ad7ad97d21734b155c5e72fe3b6df490f.file.bestwidget-header.tpl.php
128/tools/smarty/plugins/modifier.replace.php
129/modules/blocktopmenu/blocktopmenu.php
130/modules/blocktopmenu/menutoplinks.class.php
131/modules/blocktopmenu/translations/br.php
132/modules/fkpagseguroct/fkpagseguroct.php
133/modules/fkpagseguroct/models/FKpagseguroctInterfaceClass.php
134/modules/fkpagseguroct/models/cUrlClass.php
135/modules/fkpagseguroct/models/XmlParserClass.php
136/classes/PaymentModule.php
137/modules/crossselling/crossselling.php
138/modules/crossselling/translations/br.php
139/modules/ganalytics/ganalytics.php
140/modules/ganalytics/translations/br.php
141/modules/productvideos/productvideos.php
142/modules/productvideos/classes/ProductVideosClass.php
143/modules/notifymewhenstock/notifymewhenstock.php
144/modules/notifymewhenstock/classes/NotifyMail.php
145/tools/swift/Swift.php
146/tools/swift/Swift/ClassLoader.php
147/tools/swift/Swift/LogContainer.php
148/tools/swift/Swift/Log/DefaultLog.php
149/tools/swift/Swift/Log.php
150/tools/swift/Swift/ConnectionBase.php
151/tools/swift/Swift/Connection.php
152/tools/swift/Swift/ConnectionException.php
153/tools/swift/Swift/Exception.php
154/tools/swift/Swift/BadResponseException.php
155/tools/swift/Swift/Cache.php
156/tools/swift/Swift/CacheFactory.php
157/tools/swift/Swift/Message.php
158/tools/swift/Swift/Address.php
159/tools/swift/Swift/AddressContainer.php
160/tools/swift/Swift/Message/Mime.php
161/tools/swift/Swift/File.php
162/tools/swift/Swift/FileException.php
163/tools/swift/Swift/Message/MimeException.php
164/tools/swift/Swift/Message/Image.php
165/tools/swift/Swift/Message/EmbeddedFile.php
166/tools/swift/Swift/Message/Attachment.php
167/tools/swift/Swift/Message/Part.php
168/tools/swift/Swift/RecipientList.php
169/tools/swift/Swift/Iterator/Array.php
170/tools/swift/Swift/Iterator.php
171/tools/swift/Swift/BatchMailer.php
172/tools/swift/Swift/Events.php
173/tools/swift/Swift/Events/Listener.php
174/tools/swift/Swift/Connection/SMTP.php
175/tools/swift/Swift/Authenticator.php
176/tools/swift/Swift/Connection/NativeMail.php
177/tools/swift/Swift/Plugin/MailSend.php
178/tools/swift/Swift/Events/SendListener.php
179/tools/swift/Swift/Events/BeforeSendListener.php
180/tools/swift/Swift/Plugin/Decorator.php
181/tools/swift/Swift/Plugin/Decorator/Replacements.php
182/modules/notifymewhenstock/translations/br.php
183/modules/notifymewhenstock/br.php
184/Adapter/Adapter_AddressFactory.php
185/Adapter/Adapter_ProductPriceCalculator.php
186/Adapter/Adapter_Configuration.php
187/Core/Business/Core_Business_ConfigurationInterface.php
188/classes/Customization.php
189/cache/smarty/compile/dd/b9/da/ddb9da6d103a1eef32609f031bfd6c84afc2a551.file.blockcart.tpl.php
190/tools/smarty/plugins/function.counter.php
191/cache/smarty/compile/4d/d8/9f/4dd89fbc05c43e7e3613b447be5ab2c1773e33d2.file.blockuserinfo.tpl.php
192/modules/pagesnotfound/pagesnotfound.php
193/modules/pagesnotfound/translations/br.php
194/modules/sekeywords/sekeywords.php
195/classes/module/ModuleGraph.php
196/modules/sekeywords/translations/br.php
197/cache/smarty/cache/blocksearch_top/1/1/58/d1/60/16/d1601624f390c638a15e44392e75daf211a0d8e1.blocksearch-top.tpl.php
198/cache/smarty/cache/blocktopmenu/1/1/58/category/113/d8/a1/da/d8a1da8abf688bf58803d32d4c8b88dc2ade4f61.blocktopmenu.tpl.php
199/classes/Combination.php
200/classes/stock/StockAvailable.php
201/classes/tax/Tax.php
202/classes/Address.php
203/classes/SpecificPrice.php
204/classes/tax/TaxManagerFactory.php
205/classes/tax/TaxRulesTaxManager.php
206/classes/tax/TaxManagerInterface.php
207/classes/tax/TaxCalculator.php
208/classes/GroupReduction.php
209/classes/Pack.php
210/classes/Feature.php
211/classes/Image.php
212/classes/ImageType.php
213/classes/Supplier.php
214/cache/smarty/cache/blocksocial/1/1/58/df/9b/d2/df9bd2af84f5eb3c6e3887bddcb51d172eff218d.blocksocial.tpl.php
215/cache/smarty/cache/blockcategories/1/1/58/113/1/68/39/d4/6839d49633dfd54754208befb570a70dd465e171.blockcategories_footer.tpl.php
216/cache/smarty/cache/blockcms/2/1/1/58/07/24/fb/0724fbaaac3c4aa9366121af99fae75e77b0a6dd.blockcms.tpl.php
217/cache/smarty/compile/bf/e2/7d/bfe27d2ad3bdb378bbb835b789e2379229aff79f.file.category.tpl.php
218/cache/smarty/compile/41/c5/cf/41c5cf6fc51ca86eaafa4431ee9c974e99ac95ca.file.errors.tpl.php
219/cache/smarty/compile/b4/ce/6b/b4ce6b5dc9b1fb75d2cc4c0ec486770e94c80308.file.category-count.tpl.php
220/cache/smarty/compile/60/0f/87/600f87ea0e89de630966e627365aa5abce1336e5.file.product-sort.tpl.php
221/cache/smarty/compile/bb/e5/58/bbe558ddb2a8c699b1fdc42f028c533ec26ea67a.file.nbr-product-page.tpl.php
222/cache/smarty/compile/31/e3/4e/31e34e3ca0c64628166e0875721ce5f9b496a82d.file.product-list.tpl.php
223/tools/smarty/plugins/function.math.php
224/cache/smarty/compile/bf/27/06/bf27064ba60b3c14c0854f3b639e84bdba54eee4.file.product-compare.tpl.php
225/cache/smarty/compile/27/3e/84/273e8445aa45a3e5c1a434d7fa584bc5d9c96e13.file.pagination.tpl.php
226/cache/smarty/compile/00/a5/e9/00a5e97f05fc484bcafa20c6d0388a8ae6b5082c.file.layout.tpl.php
227/cache/smarty/compile/37/08/84/370884646cc7e6fa65bc8562321cb8a30780b3a8.file.header.tpl.php
228/tools/smarty/plugins/function.implode.php
229/cache/smarty/compile/71/d5/12/71d5121e08c9afd77897ba840ad3aeb3e48b4fe9.file.breadcrumb.tpl.php
230/cache/smarty/compile/ee/83/12/ee831268423a65dfbe706fae4c666fde42fc634e.file.footer.tpl.php
231/cache/smarty/compile/bf/53/f8/bf53f81dad255df20c133f124e32e029b276a4cf.file.global.tpl.php
232/cache/smarty/compile/1a/1e/32/1a1e327e673bf5ac00bccf89383d713fa7be2bf1.file.javascript.tpl.php