| 0 | connect | 0.86ms |
| 1 | SET NAMES utf8 | 0.09ms |
| 2 | SELECT `store_website`.* FROM `store_website` | 0.22ms |
| 3 | SELECT `store_group`.* FROM `store_group` | 0.15ms |
| 4 | SELECT `store`.* FROM `store` | 0.12ms |
| 5 | SHOW TABLE STATUS LIKE 'session' | 3.26ms |
| 6 | SELECT `session`.`session_data` FROM `session` WHERE (session_id = :session_id) | 0.20ms |
| 7 | SELECT `flag`.* FROM `flag` WHERE (`flag`.`flag_code`='config_hash') | 0.20ms |
| 8 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`request_path` IN ('informatica-y-componentes/ordenadores/ordenadores-empotrados.html', 'informatica-y-componentes/ordenadores/ordenadores-empotrados.html/')) AND (`store_id` IN ('1')) | 0.31ms |
| 9 | SELECT id_colectivo FROM semic_colectivos WHERE codigo_colectivo_4G = 9999 | 0.18ms |
| 10 | SELECT id_colectivo FROM semic_colectivos WHERE codigo_colectivo_4G = 9999 | 0.22ms |
| 11 | SELECT related_collectives FROM semic_colectivos WHERE id_colectivo = 1 | 0.18ms |
| 12 | SELECT `customer_entity`.* FROM `customer_entity` WHERE (entity_id ='') | 0.22ms |
| 13 | SELECT codigo_colectivo_4G FROM semic_colectivos WHERE id_colectivo = '' | 0.17ms |
| 14 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`request_path` IN ('catalog/category/view/id/52036', 'catalog/category/view/id/52036/')) AND (`store_id` IN ('1')) | 0.24ms |
| 15 | SELECT `url_rewrite`.*, `relation`.`category_id`, `relation`.`product_id` FROM `url_rewrite` LEFT JOIN `catalog_url_rewrite_product_category` AS `relation` ON url_rewrite.url_rewrite_id = relation.url_rewrite_id WHERE (url_rewrite.request_path IN ('catalog/category/view/id/52036', 'catalog/category/view/id/52036/')) AND (url_rewrite.store_id IN ('1')) AND (relation.category_id IS NULL) | 0.29ms |
| 16 | SELECT codigo_colectivo_4G FROM semic_colectivos WHERE id_colectivo = '' | 0.18ms |
| 17 | SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id =52036) | 0.18ms |
| 18 | SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = 52036) | 0.19ms |
| 19 | SELECT `u`.* FROM ( ( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('45', '124', '48', '49', '52', '60', '169', '125', '142', '156', '143', '157', '144', '158', '5215', '5101', '63', '68', '145', '5046', '146', '147', '148', '150', '166', '167', '152')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('46', '70', '71', '69', '141', '155', '53', '54')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('47', '50', '51', '57', '58', '59', '67', '165', '159', '64', '149', '151', '153', '154', '5107')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('61', '62')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('72')) AND (`store_id` IN ('1', 0))) ) AS `u` ORDER BY `store_id` ASC | 1.07ms |
| 20 | SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '52036') LIMIT 1 | 0.17ms |
| 21 | SELECT `e`.*, IF(at_custom_use_parent_settings.value_id > 0, at_custom_use_parent_settings.value, at_custom_use_parent_settings_default.value) AS `custom_use_parent_settings` FROM `catalog_category_entity` AS `e` LEFT JOIN `catalog_category_entity_int` AS `at_custom_use_parent_settings_default` ON (`at_custom_use_parent_settings_default`.`entity_id` = `e`.`entity_id`) AND (`at_custom_use_parent_settings_default`.`attribute_id` = '70') AND `at_custom_use_parent_settings_default`.`store_id` = 0 LEFT JOIN `catalog_category_entity_int` AS `at_custom_use_parent_settings` ON (`at_custom_use_parent_settings`.`entity_id` = `e`.`entity_id`) AND (`at_custom_use_parent_settings`.`attribute_id` = '70') AND (`at_custom_use_parent_settings`.`store_id` = 1) WHERE (`e`.`entity_id` IN('52036', '51579', '51500', '2', '1')) AND (((IF(at_custom_use_parent_settings.value_id > 0, at_custom_use_parent_settings.value, at_custom_use_parent_settings_default.value) = 0) OR (IF(at_custom_use_parent_settings.value_id > 0, at_custom_use_parent_settings.value, at_custom_use_parent_settings_default.value) IS NULL))) AND (`e`.`level` != 0) ORDER BY `e`.`level` DESC | 0.44ms |
| 22 | SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_varchar` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_category_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (52036, 51579, 51500, 2)) AND (t_d.attribute_id IN ('60', '63', '5046')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_datetime` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_category_entity_datetime` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (52036, 51579, 51500, 2)) AND (t_d.attribute_id IN ('61', '62')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_text` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_category_entity_text` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (52036, 51579, 51500, 2)) AND (t_d.attribute_id IN ('64')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) UNION ALL SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_int` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_category_entity_int` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (52036, 51579, 51500, 2)) AND (t_d.attribute_id IN ('71')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) | 1.00ms |
| 23 | SELECT COUNT(m.entity_id) FROM `catalog_category_entity` AS `m` LEFT JOIN `catalog_category_entity_int` AS `d` ON d.attribute_id = :attribute_id AND d.store_id = 0 AND d.entity_id = m.entity_id LEFT JOIN `catalog_category_entity_int` AS `c` ON c.attribute_id = :attribute_id AND c.store_id = :store_id AND c.entity_id = m.entity_id WHERE (m.path LIKE :c_path) AND (IF(c.value_id > 0, c.value, d.value) = :active_flag) | 0.33ms |
| 24 | SELECT `session`.* FROM `session` WHERE (session_id = :session_id) | 0.27ms |
| 25 | INSERT INTO `session` (`session_expires`, `session_data`, `session_id`) VALUES (?, ?, ?) | 5.28ms |
| 26 | SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active` FROM `catalog_category_entity` AS `e` LEFT JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '46') AND `at_is_active_default`.`store_id` = 0 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '46') AND (`at_is_active`.`store_id` = 1) WHERE (`e`.`entity_id` IN('51500', '51579', '52036')) AND (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1') | 0.44ms |
| 27 | SELECT `t_d`.`attribute_id`, `e`.`entity_id`, `t_d`.`value` AS `default_value`, `t_s`.`value` AS `store_value`, IF(t_s.value_id IS NULL, t_d.value, t_s.value) AS `value` FROM `catalog_category_entity_varchar` AS `t_d` INNER JOIN `catalog_category_entity` AS `e` ON e.entity_id = t_d.entity_id LEFT JOIN `catalog_category_entity_varchar` AS `t_s` ON t_s.attribute_id = t_d.attribute_id AND t_s.entity_id = t_d.entity_id AND t_s.store_id = 1 WHERE (e.entity_id IN (51500, 51579, 52036)) AND (t_d.attribute_id IN ('45', '124')) AND (t_d.store_id = IFNULL(t_s.store_id, 0)) | 0.53ms |
| 28 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('51500')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1)) | 0.26ms |
| 29 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('51579')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1)) | 0.24ms |
| 30 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('52036')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1)) | 0.23ms |
| 31 | SELECT `main_table`.`entity_type_id`, `main_table`.`attribute_code`, `main_table`.`attribute_model`, `main_table`.`backend_model`, `main_table`.`backend_type`, `main_table`.`backend_table`, `main_table`.`frontend_model`, `main_table`.`frontend_input`, `main_table`.`frontend_label`, `main_table`.`frontend_class`, `main_table`.`source_model`, `main_table`.`is_required`, `main_table`.`is_user_defined`, `main_table`.`default_value`, `main_table`.`is_unique`, `main_table`.`note`, `additional_table`.*, IFNULL(al.value, main_table.frontend_label) AS `store_label` FROM `eav_attribute` AS `main_table` INNER JOIN `catalog_eav_attribute` AS `additional_table` ON additional_table.attribute_id = main_table.attribute_id LEFT JOIN `eav_attribute_label` AS `al` ON al.attribute_id = main_table.attribute_id AND al.store_id = 1 WHERE (main_table.entity_type_id = 4) AND (`additional_table`.`is_filterable` > 0) ORDER BY position ASC | 0.65ms |
| 32 | SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id ='52036') | 0.18ms |
| 33 | SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '52036') | 0.17ms |
| 34 | SELECT `u`.* FROM ( ( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('45', '124', '48', '49', '52', '60', '169', '125', '142', '156', '143', '157', '144', '158', '5215', '5101', '63', '68', '145', '5046', '146', '147', '148', '150', '166', '167', '152')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('46', '70', '71', '69', '141', '155', '53', '54')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('47', '50', '51', '57', '58', '59', '67', '165', '159', '64', '149', '151', '153', '154', '5107')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('61', '62')) AND (`store_id` IN ('1', 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('72')) AND (`store_id` IN ('1', 0))) ) AS `u` ORDER BY `store_id` ASC | 0.98ms |
| 35 | SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '52036') LIMIT 1 | 0.16ms |
| 36 | SELECT `main_table`.`entity_id`, `main_table`.`pim_collective_category_id`, `main_table`.`magento_category_id`, `main_table`.`collective_id`, `main_table`.`is_published`, `spccd`.`language_code`, `spccd`.`name`, `spccd`.`description`, `spccd`.`image` FROM `semic_pim_collective_categories` AS `main_table` INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON main_table.pim_collective_category_id = spccd.pim_collective_category_id AND spccd.language_code = 'ES' WHERE (`collective_id` IN('1')) AND (`magento_category_id` = '52036') AND (`is_published` = '1') | 0.36ms |
| 37 | SELECT `main_table`.`entity_id`, `main_table`.`pim_collective_category_id`, `main_table`.`magento_category_id`, `main_table`.`collective_id`, `main_table`.`is_published`, `spccd`.`language_code`, `spccd`.`name`, `spccd`.`description`, `spccd`.`image` FROM `semic_pim_collective_categories` AS `main_table` INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON main_table.pim_collective_category_id = spccd.pim_collective_category_id AND spccd.language_code = 'ES' WHERE (`collective_id` IN('1')) AND (`magento_category_id` = '52036') AND (`is_published` = '1') | 0.34ms |
| 38 | SELECT `amasty_ampromo_rule`.`sku` FROM `amasty_ampromo_rule` WHERE (salesrule_id IN (142, 143)) | 0.21ms |
| 39 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='top_promotional_block') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.46ms |
| 40 | SELECT `session`.`session_data` FROM `session` WHERE (session_id = :session_id) | 0.36ms |
| 41 | SELECT id_colectivo FROM semic_colectivos WHERE codigo_colectivo_4G = 9999 | 0.18ms |
| 42 | SELECT related_collectives, share_menu FROM semic_colectivos WHERE id_colectivo = :id_colectivo | 0.15ms |
| 43 | SELECT menu_json FROM semic_pim_collective_menu WHERE collective = :collective AND language_code = :lang | 0.21ms |
| 44 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='porto_custom_block_type_8') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.61ms |
| 45 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '136') | 0.19ms |
| 46 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.22ms |
| 47 | SELECT id_colectivo FROM semic_colectivos WHERE codigo_colectivo_4G = 9999 | 0.18ms |
| 48 | SELECT related_collectives, share_menu FROM semic_colectivos WHERE id_colectivo = :id_colectivo | 0.20ms |
| 49 | SELECT menu_json FROM semic_pim_collective_menu WHERE collective = :collective AND language_code = :lang | 0.21ms |
| 50 | SELECT c.*, t.name FROM semic_pim_collective_categories c INNER JOIN semic_pim_collective_categories_descriptions t ON c.pim_collective_category_id = t.pim_collective_category_id WHERE c.magento_category_id = :categoryId AND c.collective_id = :collectiveId AND t.language_code = :languageCode LIMIT 1 | 0.37ms |
| 51 | SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id ='52036') | 0.14ms |
| 52 | SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '52036') | 0.16ms |
| 53 | SELECT `u`.* FROM ( ( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('45', '124', '48', '49', '52', '60', '169', '125', '142', '156', '143', '157', '144', '158', '5215', '5101', '63', '68', '145', '5046', '146', '147', '148', '150', '166', '167', '152')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('46', '70', '71', '69', '141', '155', '53', '54')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('47', '50', '51', '57', '58', '59', '67', '165', '159', '64', '149', '151', '153', '154', '5107')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('61', '62')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '52036') AND (attribute_id IN ('72')) AND (`store_id` IN (1, 0))) ) AS `u` ORDER BY `store_id` ASC | 1.01ms |
| 54 | SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '52036') LIMIT 1 | 0.18ms |
| 55 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('52036')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1)) | 0.27ms |
| 56 | SELECT magento_category_id FROM semic_pim_collective_categories WHERE pim_collective_category_id = :parentId AND collective_id = :collectiveId LIMIT 1 | 0.19ms |
| 57 | SELECT c.*, t.name FROM semic_pim_collective_categories c INNER JOIN semic_pim_collective_categories_descriptions t ON c.pim_collective_category_id = t.pim_collective_category_id WHERE c.magento_category_id = :categoryId AND c.collective_id = :collectiveId AND t.language_code = :languageCode LIMIT 1 | 0.28ms |
| 58 | SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id ='51579') | 0.17ms |
| 59 | SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '51579') | 0.17ms |
| 60 | SELECT `u`.* FROM ( ( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '51579') AND (attribute_id IN ('45', '124', '48', '49', '52', '60', '169', '125', '142', '156', '143', '157', '144', '158', '5215', '5101', '63', '68', '145', '5046', '146', '147', '148', '150', '166', '167', '152')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '51579') AND (attribute_id IN ('46', '70', '71', '69', '141', '155', '53', '54')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '51579') AND (attribute_id IN ('47', '50', '51', '57', '58', '59', '67', '165', '159', '64', '149', '151', '153', '154', '5107')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '51579') AND (attribute_id IN ('61', '62')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '51579') AND (attribute_id IN ('72')) AND (`store_id` IN (1, 0))) ) AS `u` ORDER BY `store_id` ASC | 0.96ms |
| 61 | SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '51579') LIMIT 1 | 0.16ms |
| 62 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('51579')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1)) | 0.25ms |
| 63 | SELECT magento_category_id FROM semic_pim_collective_categories WHERE pim_collective_category_id = :parentId AND collective_id = :collectiveId LIMIT 1 | 0.19ms |
| 64 | SELECT c.*, t.name FROM semic_pim_collective_categories c INNER JOIN semic_pim_collective_categories_descriptions t ON c.pim_collective_category_id = t.pim_collective_category_id WHERE c.magento_category_id = :categoryId AND c.collective_id = :collectiveId AND t.language_code = :languageCode LIMIT 1 | 0.30ms |
| 65 | SELECT `catalog_category_entity`.* FROM `catalog_category_entity` WHERE (entity_id ='51500') | 0.17ms |
| 66 | SELECT `t`.* FROM `catalog_category_entity` AS `t` WHERE (entity_id = '51500') | 0.17ms |
| 67 | SELECT `u`.* FROM ( ( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_varchar` AS `t` WHERE (entity_id = '51500') AND (attribute_id IN ('45', '124', '48', '49', '52', '60', '169', '125', '142', '156', '143', '157', '144', '158', '5215', '5101', '63', '68', '145', '5046', '146', '147', '148', '150', '166', '167', '152')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_int` AS `t` WHERE (entity_id = '51500') AND (attribute_id IN ('46', '70', '71', '69', '141', '155', '53', '54')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_text` AS `t` WHERE (entity_id = '51500') AND (attribute_id IN ('47', '50', '51', '57', '58', '59', '67', '165', '159', '64', '149', '151', '153', '154', '5107')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_datetime` AS `t` WHERE (entity_id = '51500') AND (attribute_id IN ('61', '62')) AND (`store_id` IN (1, 0))) UNION ALL( SELECT `t`.`value`, `t`.`attribute_id`, `t`.`store_id` FROM `catalog_category_entity_decimal` AS `t` WHERE (entity_id = '51500') AND (attribute_id IN ('72')) AND (`store_id` IN (1, 0))) ) AS `u` ORDER BY `store_id` ASC | 0.87ms |
| 68 | SELECT `catalog_category_entity`.`entity_id` FROM `catalog_category_entity` WHERE (entity_id = '51500') LIMIT 1 | 0.17ms |
| 69 | SELECT `url_rewrite`.* FROM `url_rewrite` WHERE (`entity_id` IN ('51500')) AND (`entity_type` IN ('category')) AND (`store_id` IN (1)) | 0.22ms |
| 70 | SELECT `main_table`.`entity_id`, `main_table`.`pim_collective_category_id`, `main_table`.`magento_category_id`, `main_table`.`collective_id`, `main_table`.`is_published`, `spccd`.`language_code`, `spccd`.`name`, `spccd`.`description`, `spccd`.`image` FROM `semic_pim_collective_categories` AS `main_table` INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON main_table.pim_collective_category_id = spccd.pim_collective_category_id AND spccd.language_code = 'ES' WHERE (`collective_id` IN('1')) AND (`magento_category_id` = '52036') AND (`is_published` = '1') | 0.37ms |
| 71 | SELECT `main_table`.`entity_id`, `main_table`.`pim_collective_category_id`, `main_table`.`magento_category_id`, `main_table`.`collective_id`, `main_table`.`is_published`, `spccd`.`language_code`, `spccd`.`name`, `spccd`.`description`, `spccd`.`image` FROM `semic_pim_collective_categories` AS `main_table` INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON main_table.pim_collective_category_id = spccd.pim_collective_category_id AND spccd.language_code = 'ES' WHERE (`collective_id` IN('1')) AND (`magento_category_id` = '52036') AND (`is_published` = '1') | 0.33ms |
| 72 | SELECT `main_table`.`entity_id`, `main_table`.`pim_collective_category_id`, `main_table`.`magento_category_id`, `main_table`.`collective_id`, `main_table`.`is_published`, `spccd`.`language_code`, `spccd`.`name`, `spccd`.`description`, `spccd`.`image` FROM `semic_pim_collective_categories` AS `main_table` INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON main_table.pim_collective_category_id = spccd.pim_collective_category_id AND spccd.language_code = 'ES' WHERE (`collective_id` IN('1')) AND (`magento_category_id` = '52036') AND (`is_published` = '1') | 0.26ms |
| 73 | SELECT `main_table`.* FROM `cataloginventory_stock` AS `main_table` | 0.19ms |
| 74 | CREATE TEMPORARY TABLE `search_tmp_690681c5c4ece9_24773054` ( `entity_id` int UNSIGNED NOT NULL COMMENT 'Entity ID' , `score` decimal(32,16) UNSIGNED NULL COMMENT 'Score' , PRIMARY KEY (`entity_id`)
) COMMENT='search_tmp_690681c5c4ece9_24773054' ENGINE=memory charset=utf8 COLLATE=utf8_general_ci | 0.30ms |
| 75 | INSERT INTO `search_tmp_690681c5c4ece9_24773054` SELECT `main_select`.`entity_id`, SUM(score) AS `relevance` FROM ( SELECT DISTINCT `search_index`.`entity_id`, (((0) + (0)) * 1) AS `score` FROM `catalog_product_index_eav` AS `search_index` INNER JOIN `cataloginventory_stock_status` AS `stock_index` ON stock_index.product_id = search_index.entity_id AND `stock_index`.`website_id` = 0 AND `stock_index`.`stock_id` = 1 INNER JOIN `catalog_category_product_index_store1` AS `category_ids_index` ON search_index.entity_id = category_ids_index.product_id AND category_ids_index.store_id = '1' WHERE (search_index.store_id = '1') AND (`search_index`.`attribute_id` = 99 AND `search_index`.`value` in ('2', '4') AND `search_index`.`store_id` = '1') AND (category_ids_index.category_id in ('52036'))) AS `main_select` GROUP BY `entity_id` ORDER BY `relevance` DESC, `entity_id` DESC LIMIT 10000 | 0.75ms |
| 76 | SELECT `search_tmp_690681c5c4ece9_24773054`.`entity_id`, `search_tmp_690681c5c4ece9_24773054`.`score` FROM `search_tmp_690681c5c4ece9_24773054` | 0.13ms |
| 77 | SELECT `e`.`attribute_set_id` FROM `catalog_product_entity` AS `e` WHERE (entity_id IN (1375938, 1375924, 1375920, 1375861, 1338804, 1338803, 1338673, 1338672, 1323623, 1323622, 1323621)) GROUP BY `attribute_set_id` | 0.23ms |
| 78 | SELECT `main_table`.`attribute_code` FROM `eav_attribute` AS `main_table` INNER JOIN `catalog_eav_attribute` AS `additional_table` ON additional_table.attribute_id = main_table.attribute_id INNER JOIN `eav_entity_attribute` AS `entity_attribute` ON entity_attribute.attribute_id = main_table.attribute_id WHERE (main_table.entity_type_id = 4) AND (`entity_attribute`.`attribute_set_id` IN('4')) GROUP BY `main_table`.`attribute_id` | 0.73ms |
| 79 | SELECT count(main_table.entity_id) AS `count`, MAX(min_price) AS `max`, MIN(min_price) AS `min`, STDDEV_SAMP(min_price) AS `std` FROM `catalog_product_index_price` AS `main_table` WHERE (main_table.entity_id in (select entity_id from search_tmp_690681c5c4ece9_24773054)) AND (customer_group_id = 0) AND (main_table.website_id = '1') | 0.34ms |
| 80 | SELECT IFNULL(FLOOR(min_price / 1 ) + 1, 1) AS `range`, COUNT(*) AS `metrix` FROM `catalog_product_index_price` AS `main_table` INNER JOIN `search_tmp_690681c5c4ece9_24773054` AS `entities` ON main_table.entity_id = entities.entity_id WHERE (main_table.customer_group_id = 0) AND (main_table.website_id = '1') GROUP BY `range` ORDER BY `range` ASC | 0.29ms |
| 81 | SELECT IFNULL(FLOOR(min_price / 1 ) + 1, 1) AS `range`, COUNT(*) AS `metrix` FROM `catalog_product_index_price` AS `main_table` INNER JOIN `search_tmp_690681c5c4ece9_24773054` AS `entities` ON main_table.entity_id = entities.entity_id WHERE (main_table.customer_group_id = 0) AND (main_table.website_id = '1') GROUP BY `range` ORDER BY `range` ASC | 0.25ms |
| 82 | SELECT `main_table`.*, count(main_table.value) AS `count` FROM ( SELECT `main_table`.`category_id` AS `value` FROM `catalog_category_product_index_store1` AS `main_table` INNER JOIN `search_tmp_690681c5c4ece9_24773054` AS `entities` ON main_table.product_id = entities.entity_id INNER JOIN `catalog_category_entity` AS `category` ON main_table.category_id = category.entity_id WHERE (main_table.store_id = '1') AND (`category`.`path` LIKE '1/2/51500/51579/52036%') AND (`category`.`level` > '4')) AS `main_table` GROUP BY `value` | 0.31ms |
| 83 | SELECT `eav_attribute`.* FROM `eav_attribute` WHERE (`eav_attribute`.`attribute_code`='familia_cartucho') AND (entity_type_id = :entity_type_id) | 0.18ms |
| 84 | SELECT `eav_entity_type`.`additional_attribute_table` FROM `eav_entity_type` WHERE (entity_type_id = :entity_type_id) | 0.14ms |
| 85 | SELECT `catalog_eav_attribute`.* FROM `catalog_eav_attribute` WHERE (attribute_id = :attribute_id) | 0.16ms |
| 86 | SELECT `main_table`.`value`, count(main_table.value) AS `count` FROM ( SELECT DISTINCT `main_table`.`entity_id`, `main_table`.`value` FROM `catalog_product_index_eav` AS `main_table` INNER JOIN `search_tmp_690681c5c4ece9_24773054` AS `entities` ON main_table.entity_id = entities.entity_id WHERE (main_table.attribute_id = 5093) AND (main_table.store_id = '1' )) AS `main_table` GROUP BY `value` | 0.32ms |
| 87 | SELECT `eav_attribute`.* FROM `eav_attribute` WHERE (`eav_attribute`.`attribute_code`='manufacturer') AND (entity_type_id = :entity_type_id) | 0.18ms |
| 88 | SELECT `catalog_eav_attribute`.* FROM `catalog_eav_attribute` WHERE (attribute_id = :attribute_id) | 0.19ms |
| 89 | SELECT `main_table`.`value`, count(main_table.value) AS `count` FROM ( SELECT DISTINCT `main_table`.`entity_id`, `main_table`.`value` FROM `catalog_product_index_eav` AS `main_table` INNER JOIN `search_tmp_690681c5c4ece9_24773054` AS `entities` ON main_table.entity_id = entities.entity_id WHERE (main_table.attribute_id = 83) AND (main_table.store_id = '1' )) AS `main_table` GROUP BY `value` | 0.25ms |
| 90 | SELECT `main_table`.`value`, count(main_table.value) AS `count` FROM ( SELECT DISTINCT `main_table`.`entity_id`, `main_table`.`value` FROM `catalog_product_index_eav` AS `main_table` INNER JOIN `search_tmp_690681c5c4ece9_24773054` AS `entities` ON main_table.entity_id = entities.entity_id WHERE (main_table.attribute_id = 5050) AND (main_table.store_id = '1' )) AS `main_table` GROUP BY `value` | 0.36ms |
| 91 | SELECT COUNT(*) FROM ( SELECT `main_select`.`entity_id`, SUM(score) AS `relevance` FROM ( SELECT DISTINCT `search_index`.`entity_id`, (((0) + (0)) * 1) AS `score` FROM `catalog_product_index_eav` AS `search_index` INNER JOIN `cataloginventory_stock_status` AS `stock_index` ON stock_index.product_id = search_index.entity_id AND `stock_index`.`website_id` = 0 AND `stock_index`.`stock_id` = 1 INNER JOIN `catalog_category_product_index_store1` AS `category_ids_index` ON search_index.entity_id = category_ids_index.product_id AND category_ids_index.store_id = '1' WHERE (search_index.store_id = '1') AND (`search_index`.`attribute_id` = 99 AND `search_index`.`value` in ('2', '4') AND `search_index`.`store_id` = '1') AND (category_ids_index.category_id in ('52036'))) AS `main_select` GROUP BY `entity_id` ORDER BY `relevance` DESC, `entity_id` DESC) AS `core_select` | 0.56ms |
| 92 | CREATE TEMPORARY TABLE `search_tmp_690681c5c71937_76723396` ( `entity_id` int UNSIGNED NOT NULL COMMENT 'Entity ID' , `score` decimal(32,16) UNSIGNED NULL COMMENT 'Score' , PRIMARY KEY (`entity_id`)
) COMMENT='search_tmp_690681c5c71937_76723396' ENGINE=memory charset=utf8 COLLATE=utf8_general_ci | 0.23ms |
| 93 | INSERT INTO `search_tmp_690681c5c71937_76723396` (`entity_id`,`score`) VALUES (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?), (?, ?) | 0.11ms |
| 94 | SELECT `eav_attribute`.* FROM `eav_attribute` WHERE (`eav_attribute`.`attribute_code`='entity_id') AND (entity_type_id = :entity_type_id) | 0.15ms |
| 95 | SELECT DISTINCT COUNT(DISTINCT e.entity_id) FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_category_product_index_store1` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id=52036 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '1' INNER JOIN `semic_pim_collective_items` AS `spci` ON e.entity_id = spci.magento_product_id AND spci.collective_id = ( SELECT collective_id FROM semic_pim_collective_items WHERE magento_product_id = e.entity_id AND is_published = 1 AND in_trash = 0 AND collective_id IN (1) ORDER BY FIELD(collective_id, 1) LIMIT 1 ) INNER JOIN `semic_pim_collective_items_descriptions` AS `spcid` ON spcid.pim_collective_item_id = spci.pim_collective_item_id AND spcid.language_code = 'ES' INNER JOIN `catalog_category_product` AS `ccp` ON e.entity_id = ccp.product_id INNER JOIN `semic_pim_collective_categories` AS `spcc` ON spcc.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) AND spcc.collective_id IN (1) AND spcc.is_published = 1 INNER JOIN `semic_pim_collective_item_category` AS `spcic` ON spcic.pim_collective_item_id = spci.pim_collective_item_id AND spcic.pim_collective_category_id = spcc.pim_collective_category_id AND (spcic.pim_collective_item_id, spcic.pim_collective_category_id) = ( SELECT spcic2.pim_collective_item_id, spcic2.pim_collective_category_id FROM semic_pim_collective_item_category spcic2 INNER JOIN semic_pim_collective_categories spcc2 ON spcc2.pim_collective_category_id = spcic2.pim_collective_category_id AND spcc2.is_published = 1 AND spcc2.collective_id IN (1) AND spcc2.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) WHERE spcic2.pim_collective_item_id = spci.pim_collective_item_id ORDER BY CASE WHEN spcc2.magento_category_id = 52036 THEN 0 ELSE 1 END, spcc2.magento_category_id ASC, IFNULL(spcic2.pim_collective_item_category_order, 999999999) ASC, spcic2.pim_collective_category_id ASC LIMIT 1 ) INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON spccd.pim_collective_category_id = spcc.pim_collective_category_id AND spccd.language_code = 'ES' INNER JOIN `semic_pim_collective_features_values` AS `fv` ON fv.pim_collective_item_id = spci.pim_collective_item_id INNER JOIN `semic_pim_collective_features_names` AS `fn` ON fn.pim_collective_feature_id = fv.pim_collective_feature_id AND fn.language_code = 'ES' INNER JOIN `search_tmp_690681c5c71937_76723396` AS `search_result` ON e.entity_id = search_result.entity_id WHERE (fv.pim_collective_feature_value_codified_id IN ('2212294583', '2212294583')) GROUP BY `spci`.`pim_collective_item_id` HAVING (COUNT(DISTINCT fv.pim_collective_feature_value_codified_id) = 2) | 4.60ms |
| 96 | SELECT DISTINCT `e`.*, `cat_index`.`position` AS `cat_index_position`, `price_index`.`price`, `price_index`.`tax_class_id`, `price_index`.`final_price`, IF(price_index.tier_price IS NOT NULL, LEAST(price_index.min_price, price_index.tier_price), price_index.min_price) AS `minimal_price`, `price_index`.`min_price`, `price_index`.`max_price`, `price_index`.`tier_price`, `spci`.`pim_collective_item_id`, `spci`.`pim_item_id`, `spci`.`collective_id`, `spci`.`buy_without_stock`, `spcid`.`title`, `spcid`.`short_description`, `spcid`.`long_description`, `spcid`.`buy_without_stock_text`, `spcc`.`magento_category_id`, IFNULL(spcic.pim_collective_item_category_order, 999999999) AS `collectiveOrder`, `spccd`.`language_code` AS `categoryLang`, `spccd`.`name` AS `categoryName`, `spccd`.`description` AS `categoryDesc`, `spccd`.`image` AS `categoryImage`, `spcii`.`image_url`, `spcii`.`image_title`, `spidi`.`image_url` AS `image_url_default`, `spidi`.`image_title` AS `image_title_default`, IFNULL(review_summary.reviews_count, 0) AS `reviews_count`, IFNULL(review_summary.rating_summary, 0) AS `rating_summary`, `stock_status_index`.`stock_status` AS `is_salable` FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_category_product_index_store1` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id=52036 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '1' INNER JOIN `semic_pim_collective_items` AS `spci` ON e.entity_id = spci.magento_product_id AND spci.collective_id = ( SELECT collective_id FROM semic_pim_collective_items WHERE magento_product_id = e.entity_id AND is_published = 1 AND in_trash = 0 AND collective_id IN (1) ORDER BY FIELD(collective_id, 1) LIMIT 1 ) INNER JOIN `semic_pim_collective_items_descriptions` AS `spcid` ON spcid.pim_collective_item_id = spci.pim_collective_item_id AND spcid.language_code = 'ES' INNER JOIN `catalog_category_product` AS `ccp` ON e.entity_id = ccp.product_id INNER JOIN `semic_pim_collective_categories` AS `spcc` ON spcc.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) AND spcc.collective_id IN (1) AND spcc.is_published = 1 INNER JOIN `semic_pim_collective_item_category` AS `spcic` ON spcic.pim_collective_item_id = spci.pim_collective_item_id AND spcic.pim_collective_category_id = spcc.pim_collective_category_id AND (spcic.pim_collective_item_id, spcic.pim_collective_category_id) = ( SELECT spcic2.pim_collective_item_id, spcic2.pim_collective_category_id FROM semic_pim_collective_item_category spcic2 INNER JOIN semic_pim_collective_categories spcc2 ON spcc2.pim_collective_category_id = spcic2.pim_collective_category_id AND spcc2.is_published = 1 AND spcc2.collective_id IN (1) AND spcc2.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) WHERE spcic2.pim_collective_item_id = spci.pim_collective_item_id ORDER BY CASE WHEN spcc2.magento_category_id = 52036 THEN 0 ELSE 1 END, spcc2.magento_category_id ASC, IFNULL(spcic2.pim_collective_item_category_order, 999999999) ASC, spcic2.pim_collective_category_id ASC LIMIT 1 ) INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON spccd.pim_collective_category_id = spcc.pim_collective_category_id AND spccd.language_code = 'ES' LEFT JOIN `semic_pim_collective_items_images` AS `spcii` ON spcii.pim_collective_item_id = spcii.pim_collective_item_id AND spcii.entity_id = ( SELECT entity_id FROM semic_pim_collective_items_images WHERE pim_collective_item_id = spci.pim_collective_item_id AND language_code = 'ES' AND is_published = 1 ORDER BY is_main DESC, entity_id ASC LIMIT 1 ) LEFT JOIN ( SELECT `spidi1`.`pim_item_id`, `spidi1`.`entity_id`, `spidi1`.`image_url`, `spidi1`.`image_title` FROM `semic_pim_items_default_images` AS `spidi1` INNER JOIN ( SELECT pim_item_id, MAX(is_main) as is_main, MIN(entity_id) as entity_id FROM semic_pim_items_default_images WHERE language_code = 'ES' AND is_published = 1 GROUP BY pim_item_id) AS `spidi2` ON spidi1.pim_item_id = spidi2.pim_item_id AND spidi1.entity_id = spidi2.entity_id WHERE (spidi1.language_code = 'ES' AND spidi1.is_published = 1)) AS `spidi` ON spidi.pim_item_id = spci.pim_item_id INNER JOIN `semic_pim_collective_features_values` AS `fv` ON fv.pim_collective_item_id = spci.pim_collective_item_id INNER JOIN `semic_pim_collective_features_names` AS `fn` ON fn.pim_collective_feature_id = fv.pim_collective_feature_id AND fn.language_code = 'ES' LEFT JOIN `review_entity_summary` AS `review_summary` ON e.entity_id = review_summary.entity_pk_value AND review_summary.store_id = 1 AND review_summary.entity_type = ( SELECT `review_entity`.`entity_id` FROM `review_entity` WHERE (entity_code = 'product')) LEFT JOIN `cataloginventory_stock_status` AS `stock_status_index` ON e.entity_id = stock_status_index.product_id AND stock_status_index.website_id = 0 AND stock_status_index.stock_id = 1 INNER JOIN `search_tmp_690681c5c71937_76723396` AS `search_result` ON e.entity_id = search_result.entity_id WHERE (fv.pim_collective_feature_value_codified_id IN ('2212294583', '2212294583')) GROUP BY `spci`.`pim_collective_item_id` HAVING (COUNT(DISTINCT fv.pim_collective_feature_value_codified_id) = 2) ORDER BY `collectiveOrder` ASC, `e`.`entity_id` DESC LIMIT 24 | 290.75ms |
| 97 | SELECT `url_rewrite`.*, `relation`.`category_id`, `relation`.`product_id` FROM `url_rewrite` LEFT JOIN `catalog_url_rewrite_product_category` AS `relation` ON url_rewrite.url_rewrite_id = relation.url_rewrite_id WHERE (url_rewrite.entity_type IN ('product')) AND (url_rewrite.entity_id IN (NULL)) AND (url_rewrite.store_id IN (1)) AND (url_rewrite.is_autogenerated IN (1)) AND (relation.category_id IS NULL) | 0.24ms |
| 98 | SELECT `t`.* FROM `salesrule` AS `t` WHERE (rule_id = 79) | 0.20ms |
| 99 | SELECT `salesrule_customer_group`.`customer_group_id` FROM `salesrule_customer_group` WHERE (rule_id = '79') | 0.19ms |
| 100 | SELECT `salesrule_website`.`website_id` FROM `salesrule_website` WHERE (rule_id = '79') | 0.17ms |
| 101 | SELECT COUNT(*) FROM `amasty_banners_lite_banner_data` AS `main_table` WHERE (`salesrule_id` = '79') | 0.17ms |
| 102 | SELECT `main_table`.* FROM `amasty_banners_lite_banner_data` AS `main_table` WHERE (`salesrule_id` = '79') | 0.16ms |
| 103 | SELECT `amasty_banners_lite_banner_data`.* FROM `amasty_banners_lite_banner_data` WHERE (`amasty_banners_lite_banner_data`.`entity_id`='193') | 0.14ms |
| 104 | SELECT `amasty_banners_lite_banner_data`.* FROM `amasty_banners_lite_banner_data` WHERE (`amasty_banners_lite_banner_data`.`entity_id`='194') | 0.13ms |
| 105 | SELECT `amasty_banners_lite_banner_data`.* FROM `amasty_banners_lite_banner_data` WHERE (`amasty_banners_lite_banner_data`.`entity_id`='195') | 0.12ms |
| 106 | SELECT `amasty_banners_lite_rule`.* FROM `amasty_banners_lite_rule` WHERE (`amasty_banners_lite_rule`.`salesrule_id`='79') | 0.16ms |
| 107 | SELECT `amasty_ampromo_rule`.* FROM `amasty_ampromo_rule` WHERE (`amasty_ampromo_rule`.`salesrule_id`='79') | 0.16ms |
| 108 | SELECT `salesrule_coupon`.* FROM `salesrule_coupon` WHERE (rule_id = :rule_id) AND (is_primary = :is_primary) | 0.15ms |
| 109 | SELECT `m`.`entity_id` FROM `catalog_category_entity` AS `m` LEFT JOIN `catalog_category_entity_int` AS `d` ON d.attribute_id = :attribute_id AND d.store_id = 0 AND d.entity_id = m.entity_id LEFT JOIN `catalog_category_entity_int` AS `c` ON c.attribute_id = :attribute_id AND c.store_id = :store_id AND c.entity_id = m.entity_id WHERE (IF(c.value_id > 0, c.value, d.value) = :scope) AND (`path` LIKE :c_path) AND (`level` <= :c_level) | 0.32ms |
| 110 | SELECT `e`.*, IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) AS `is_active`, `url_rewrite`.`request_path` FROM `catalog_category_entity` AS `e` INNER JOIN `catalog_category_entity_int` AS `at_is_active_default` ON (`at_is_active_default`.`entity_id` = `e`.`entity_id`) AND (`at_is_active_default`.`attribute_id` = '46') AND `at_is_active_default`.`store_id` = 0 LEFT JOIN `catalog_category_entity_int` AS `at_is_active` ON (`at_is_active`.`entity_id` = `e`.`entity_id`) AND (`at_is_active`.`attribute_id` = '46') AND (`at_is_active`.`store_id` = 1) LEFT JOIN `url_rewrite` ON (url_rewrite.entity_id =e.entity_id) AND (url_rewrite.is_autogenerated = 1 AND url_rewrite.store_id = 1 AND url_rewrite.entity_type = 'category') WHERE (IF(at_is_active.value_id > 0, at_is_active.value, at_is_active_default.value) = '1') AND (`e`.`entity_id` IN('')) ORDER BY `e`.`position` ASC | 0.24ms |
| 111 | SELECT `semic_pim_collective_features_names`.`name` FROM `semic_pim_collective_features_names` WHERE (pim_collective_feature_id = 1565) AND (language_code = 'ES') LIMIT 1 | 0.21ms |
| 112 | SELECT `semic_pim_collective_features_values`.`value` FROM `semic_pim_collective_features_values` WHERE (pim_collective_feature_id = 1565) AND (pim_collective_feature_value_codified_id = '2212294583') LIMIT 1 | 0.21ms |
| 113 | SELECT `semic_pim_collective_features_names`.`name` FROM `semic_pim_collective_features_names` WHERE (pim_collective_feature_id = 386) AND (language_code = 'ES') LIMIT 1 | 0.18ms |
| 114 | SELECT `semic_pim_collective_features_values`.`value` FROM `semic_pim_collective_features_values` WHERE (pim_collective_feature_id = 386) AND (pim_collective_feature_value_codified_id = '2212294583') LIMIT 1 | 0.20ms |
| 115 | SELECT DISTINCT `e`.`entity_id` FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_category_product_index_store1` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id=52036 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '1' INNER JOIN `semic_pim_collective_items` AS `spci` ON e.entity_id = spci.magento_product_id AND spci.collective_id = ( SELECT collective_id FROM semic_pim_collective_items WHERE magento_product_id = e.entity_id AND is_published = 1 AND in_trash = 0 AND collective_id IN (1) ORDER BY FIELD(collective_id, 1) LIMIT 1 ) INNER JOIN `semic_pim_collective_items_descriptions` AS `spcid` ON spcid.pim_collective_item_id = spci.pim_collective_item_id AND spcid.language_code = 'ES' INNER JOIN `catalog_category_product` AS `ccp` ON e.entity_id = ccp.product_id INNER JOIN `semic_pim_collective_categories` AS `spcc` ON spcc.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) AND spcc.collective_id IN (1) AND spcc.is_published = 1 INNER JOIN `semic_pim_collective_item_category` AS `spcic` ON spcic.pim_collective_item_id = spci.pim_collective_item_id AND spcic.pim_collective_category_id = spcc.pim_collective_category_id AND (spcic.pim_collective_item_id, spcic.pim_collective_category_id) = ( SELECT spcic2.pim_collective_item_id, spcic2.pim_collective_category_id FROM semic_pim_collective_item_category spcic2 INNER JOIN semic_pim_collective_categories spcc2 ON spcc2.pim_collective_category_id = spcic2.pim_collective_category_id AND spcc2.is_published = 1 AND spcc2.collective_id IN (1) AND spcc2.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) WHERE spcic2.pim_collective_item_id = spci.pim_collective_item_id ORDER BY CASE WHEN spcc2.magento_category_id = 52036 THEN 0 ELSE 1 END, spcc2.magento_category_id ASC, IFNULL(spcic2.pim_collective_item_category_order, 999999999) ASC, spcic2.pim_collective_category_id ASC LIMIT 1 ) INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON spccd.pim_collective_category_id = spcc.pim_collective_category_id AND spccd.language_code = 'ES' INNER JOIN `semic_pim_collective_features_values` AS `fv` ON fv.pim_collective_item_id = spci.pim_collective_item_id INNER JOIN `semic_pim_collective_features_names` AS `fn` ON fn.pim_collective_feature_id = fv.pim_collective_feature_id AND fn.language_code = 'ES' INNER JOIN `search_tmp_690681c5c71937_76723396` AS `search_result` ON e.entity_id = search_result.entity_id WHERE (fv.pim_collective_feature_value_codified_id IN ('2212294583', '2212294583')) GROUP BY `spci`.`pim_collective_item_id` HAVING (COUNT(DISTINCT fv.pim_collective_feature_value_codified_id) = 2) | 4.74ms |
| 116 | SELECT DISTINCT `e`.`entity_id` FROM `catalog_product_entity` AS `e` INNER JOIN `catalog_category_product_index_store1` AS `cat_index` ON cat_index.product_id=e.entity_id AND cat_index.store_id=1 AND cat_index.visibility IN(2, 4) AND cat_index.category_id=52036 INNER JOIN `catalog_product_index_price` AS `price_index` ON price_index.entity_id = e.entity_id AND price_index.customer_group_id = 0 AND price_index.website_id = '1' INNER JOIN `semic_pim_collective_items` AS `spci` ON e.entity_id = spci.magento_product_id AND spci.collective_id = ( SELECT collective_id FROM semic_pim_collective_items WHERE magento_product_id = e.entity_id AND is_published = 1 AND in_trash = 0 AND collective_id IN (1) ORDER BY FIELD(collective_id, 1) LIMIT 1 ) INNER JOIN `semic_pim_collective_items_descriptions` AS `spcid` ON spcid.pim_collective_item_id = spci.pim_collective_item_id AND spcid.language_code = 'ES' INNER JOIN `catalog_category_product` AS `ccp` ON e.entity_id = ccp.product_id INNER JOIN `semic_pim_collective_categories` AS `spcc` ON spcc.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) AND spcc.collective_id IN (1) AND spcc.is_published = 1 INNER JOIN `semic_pim_collective_item_category` AS `spcic` ON spcic.pim_collective_item_id = spci.pim_collective_item_id AND spcic.pim_collective_category_id = spcc.pim_collective_category_id AND (spcic.pim_collective_item_id, spcic.pim_collective_category_id) = ( SELECT spcic2.pim_collective_item_id, spcic2.pim_collective_category_id FROM semic_pim_collective_item_category spcic2 INNER JOIN semic_pim_collective_categories spcc2 ON spcc2.pim_collective_category_id = spcic2.pim_collective_category_id AND spcc2.is_published = 1 AND spcc2.collective_id IN (1) AND spcc2.magento_category_id IN ( SELECT entity_id FROM catalog_category_entity WHERE path LIKE '%/52036/%' OR path LIKE '%/52036' ) WHERE spcic2.pim_collective_item_id = spci.pim_collective_item_id ORDER BY CASE WHEN spcc2.magento_category_id = 52036 THEN 0 ELSE 1 END, spcc2.magento_category_id ASC, IFNULL(spcic2.pim_collective_item_category_order, 999999999) ASC, spcic2.pim_collective_category_id ASC LIMIT 1 ) INNER JOIN `semic_pim_collective_categories_descriptions` AS `spccd` ON spccd.pim_collective_category_id = spcc.pim_collective_category_id AND spccd.language_code = 'ES' INNER JOIN `semic_pim_collective_features_values` AS `fv` ON fv.pim_collective_item_id = spci.pim_collective_item_id INNER JOIN `semic_pim_collective_features_names` AS `fn` ON fn.pim_collective_feature_id = fv.pim_collective_feature_id AND fn.language_code = 'ES' INNER JOIN `search_tmp_690681c5c71937_76723396` AS `search_result` ON e.entity_id = search_result.entity_id WHERE (fv.pim_collective_feature_value_codified_id IN ('2212294583', '2212294583')) GROUP BY `spci`.`pim_collective_item_id` HAVING (COUNT(DISTINCT fv.pim_collective_feature_value_codified_id) = 2) | 4.71ms |
| 117 | SELECT pim_collective_category_id FROM semic_pim_collective_categories WHERE magento_category_id = 52036 AND collective_id = 1 | 0.21ms |
| 118 | CREATE TEMPORARY TABLE tmp_combined_features_items ( pim_collective_feature_id INT NOT NULL, pim_collective_feature_value_codified_id INT UNSIGNED NOT NULL, value TEXT NOT NULL, INDEX idx_feature_id (pim_collective_feature_id), INDEX idx_value_codified (pim_collective_feature_value_codified_id) ) | 0.47ms |
| 119 | WITH materialized_features AS ( SELECT DISTINCT t.pim_collective_feature_id, t.pim_collective_feature_value_codified_id, t.value FROM tmp_combined_features_items t ) SELECT fg.pim_collective_feature_group_id, fgn.name AS group_name, f.pim_collective_feature_id, fn.name AS feature_name, mf.value, f.pim_feature_id, mf.pim_collective_feature_value_codified_id FROM materialized_features mf INNER JOIN semic_pim_collective_features f ON f.pim_collective_feature_id = mf.pim_collective_feature_id INNER JOIN semic_pim_collective_features_features_group ffg ON ffg.pim_collective_feature_id = f.pim_collective_feature_id INNER JOIN semic_pim_collective_features_group fg ON fg.pim_collective_feature_group_id = ffg.pim_collective_feature_group_id AND fg.is_visible_filter = 1 AND (fg.collective_feature_group_category IS NULL OR fg.collective_feature_group_category = '' OR CONCAT(',', fg.collective_feature_group_category, ',') LIKE '%,4457,%') INNER JOIN semic_pim_collective_features_group_names fgn ON fgn.pim_collective_feature_group_id = fg.pim_collective_feature_group_id AND fgn.language_code = 'ES' INNER JOIN semic_pim_collective_features_names fn ON fn.pim_collective_feature_id = f.pim_collective_feature_id AND fn.language_code = 'ES' ORDER BY fg.pim_collective_feature_group_id, f.pim_collective_feature_id, mf.value | 0.42ms |
| 120 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='porto_category_side_custom_block') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.35ms |
| 121 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '64') | 0.15ms |
| 122 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 123 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_top_1') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.33ms |
| 124 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '137') | 0.15ms |
| 125 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.18ms |
| 126 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='politica_privacidad_formularios') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.30ms |
| 127 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '160') | 0.15ms |
| 128 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 129 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_column_1') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.29ms |
| 130 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '138') | 0.14ms |
| 131 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 132 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_column_2') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.30ms |
| 133 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '139') | 0.14ms |
| 134 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.19ms |
| 135 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_column_3') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.29ms |
| 136 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '140') | 0.16ms |
| 137 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 138 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_column_4') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.31ms |
| 139 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '141') | 0.15ms |
| 140 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 141 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_accordion_1') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.31ms |
| 142 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '153') | 0.14ms |
| 143 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 144 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_accordion_2') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.30ms |
| 145 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '154') | 0.16ms |
| 146 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.17ms |
| 147 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_accordion_3') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.29ms |
| 148 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '155') | 0.15ms |
| 149 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.19ms |
| 150 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_accordion_4') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.29ms |
| 151 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '156') | 0.15ms |
| 152 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.18ms |
| 153 | SELECT `cms_block`.`block_id` FROM `cms_block` INNER JOIN `cms_block_store` AS `cbs` ON cms_block.block_id = cbs.block_id WHERE (`cms_block`.`identifier`='semic_footer_payment') AND (is_active = 1) AND (cbs.store_id in (1, 0)) ORDER BY `store_id` DESC LIMIT 1 | 0.29ms |
| 154 | SELECT `t`.* FROM `cms_block` AS `t` WHERE (block_id = '142') | 0.15ms |
| 155 | SELECT `cbs`.`store_id` FROM `cms_block_store` AS `cbs` INNER JOIN `cms_block` AS `cb` ON cbs.block_id = cb.block_id WHERE (cb.block_id = :block_id) | 0.18ms |