https://dev.artecon.426.agency/api/_action/sync

Query Metrics

623 Database Queries
Different statements
11041.83 ms Query time
Invalid entities

Grouped Statements

Show all queries

Time Count Info
0.58 ms
(0.00%)
# dbal-plugin-loader
        SELECT
               `name`,
               `base_class` AS baseClass,
               IF(`active` = 1 AND `installed_at` IS NOT NULL, 1, 0) AS active,
               `path`,
               `version`,
               `autoload`,
               `managed_by_composer` AS managedByComposer,
               composer_name as composerName
        FROM `plugin`
        ORDER BY `installed_at`;
0.37 ms
(0.00%)
SELECT custom_entity.name, custom_entity.fields
                FROM custom_entity
                    LEFT JOIN app ON app.id = custom_entity.app_id
                WHERE custom_entity.app_id IS NULL OR app.active = 1
0.42 ms
(0.00%)
SELECT `creation_timestamp`
                FROM `migration`
                WHERE `update` IS NOT NULL AND `update_destructive` IS NULL
0.12 ms
(0.00%)
SET @@group_concat_max_len = CAST(IF(@@group_concat_max_len > 320000, @@group_concat_max_len, 320000) AS UNSIGNED);SET sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''));SET @MIGRATION_1611155140_IS_ACTIVE = TRUE;SET @MIGRATION_1646397836_IS_ACTIVE = TRUE;SET @MIGRATION_1605167857_IS_ACTIVE = TRUE;SET @MIGRATION_1575569953_IS_ACTIVE = TRUE;SET @MIGRATION_1598204175_IS_ACTIVE = TRUE;SET @MIGRATION_1720536114_IS_ACTIVE = TRUE;SET @MIGRATION_1724420699_IS_ACTIVE = TRUE;SET @MIGRATION_1732629279_IS_ACTIVE = TRUE;SET @MIGRATION_1584005462_IS_ACTIVE = TRUE;SET @MIGRATION_1589800641_IS_ACTIVE = TRUE;SET @MIGRATION_1589800704_IS_ACTIVE = TRUE;SET @MIGRATION_1589882802_IS_ACTIVE = TRUE;SET @MIGRATION_1589905764_IS_ACTIVE = TRUE;SET @MIGRATION_1591365484_IS_ACTIVE = TRUE;SET @MIGRATION_1626082072_IS_ACTIVE = TRUE;SET @MIGRATION_1675420139_IS_ACTIVE = TRUE;SET @MIGRATION_1604898081_IS_ACTIVE = TRUE;SET @MIGRATION_165657926_IS_ACTIVE = TRUE;SET @MIGRATION_1590657517_IS_ACTIVE = TRUE;SET @MIGRATION_1651494367_IS_ACTIVE = TRUE;SET @MIGRATION_1615371170_IS_ACTIVE = TRUE;SET @MIGRATION_1617881178_IS_ACTIVE = TRUE;SET @MIGRATION_1697795798_IS_ACTIVE = TRUE;SET @MIGRATION_1686812041_IS_ACTIVE = TRUE;SET @MIGRATION_1690469830_IS_ACTIVE = TRUE;SET @MIGRATION_1628172267_IS_ACTIVE = TRUE;SET @MIGRATION_1644922949_IS_ACTIVE = TRUE;SET @MIGRATION_1688378836_IS_ACTIVE = TRUE
1.03 ms
(0.00%)
SELECT configuration_key, configuration_value FROM system_config WHERE sales_channel_id IS NULL ORDER BY sales_channel_id ASC
6.17 ms
(0.00%)
SELECT last_updated_password_at FROM user WHERE id = :userId
0.32 ms
(0.00%)
SELECT item_rounding FROM currency WHERE id = :id
33.24 ms
(0.00%)
SELECT role.privileges FROM acl_user_role mapping INNER JOIN acl_role role ON mapping.acl_role_id = role.id WHERE mapping.user_id = :userId
0.94 ms
(0.00%)
SELECT admin FROM `user` WHERE id = :id
0.08 ms
(0.00%)
"START TRANSACTION"
14.62 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
19.83 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.26 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.37 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1193a624f5504b9b861b229432b4e486 AND `product`.`version_id` = :pk216db7b6073b4da591f1b0892c2f82a8))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk525be8482c4a4f4c97d11f4de65e2f1d AND `product`.`version_id` = :pk808643570130438e82c3bd5536059983))
20.03 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk072d19bc8acc4d6ba380d85a522f716f AND `product`.`version_id` = :pk945f011291aa4b46817c3a6f2105edff))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf8f2ff0881f145fa97c0d5463aa7269f AND `product`.`version_id` = :pk26771873e46849ab9e14693e418215c9))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk50aa497f74f14da6a367329984f07f86 AND `product`.`version_id` = :pk80d060b7f1c04f76bc7b3d99956ede80))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc71cd72cd12640d79a893b4b42d1e93c AND `product`.`version_id` = :pkc1e20fb0ad1d4fab9a229c7f0ebf5d92))
8.18 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd02f01a5950f4f07b183fb88e459fc21 AND `product`.`version_id` = :pk5f00aeddfb1b493c821eb794f1b53924))
11.78 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbf9856f639084c7d8ed3603e0c823bf3 AND `product`.`version_id` = :pk0f9af698158a41d9a83ffce6bd73674e))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1f7a405918c4499587fdb6c3323e9a45 AND `product`.`version_id` = :pk8ce3e86860e841018fc7287c5c48c918))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc6157963babb449d8f0c5eb6e304b6e2 AND `product`.`version_id` = :pk71b9c3f976344cee9ff2d02db3d0a0ff))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf8b89325681a4670bdd3c4014ff64fba AND `product`.`version_id` = :pk7e43e2d43aa34c17b347ab7ee041ebe2))
0.39 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6b01268d1a3e4f07996bb993816a1120 AND `product`.`version_id` = :pk1b2d81ecfc2c45429732e555dbb2d048))
11.99 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk04864b82237049d08f6450a27612a6e4 AND `product`.`version_id` = :pked7d01003c6d41f28402598d5c1af618))
44.34 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka419a2be1b8241b0b6b659cf26b11a99 AND `product`.`version_id` = :pk58823915b0004a589794c7185c72f4df))
0.60 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5c86ca44b0444c25bbb3334777eac633 AND `product`.`version_id` = :pk0851315ce8d343d2ae698352f2ba0b59))
10.92 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9e00282d0100481cbc17decda3383fa1 AND `product`.`version_id` = :pkb03fe987678247b292a6b547d7980f68))
0.46 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8ecfd44541b341d98066953ccae2ac60 AND `product`.`version_id` = :pkded18d8b93534203a279a6858da65e7d))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf8648b44f6d943d78c17251ac2f55793 AND `product`.`version_id` = :pk256f8925782f4651b117bde7e7a3f51a))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk46a18c2fbfc747d993946218077dc496 AND `product`.`version_id` = :pk8c45b2562ddb481893edcc5aa2855614))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk16dce3d745ed451c9ff32b4fd96528f9 AND `product`.`version_id` = :pk793c890bd90e40d78b5413e49f9e24f1))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd27b118d0fe144e081aeed8ee8226ae7 AND `product`.`version_id` = :pk271ec5c02ddf46f7af5be393ad50b650))
0.53 ms
(0.00%)
SELECT LOWER(HEX(language.id)) AS array_key, LOWER(HEX(language.id)) AS id, locale.code, LOWER(HEX(language.parent_id)) parentId FROM language LEFT JOIN locale locale ON language.translation_code_id = locale.id
433.20 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.50 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.29 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.63 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_dbee24d5283d4a2896601ecce3d9dd4c)
1.54 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.29 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_31e351a2c4654858a388cb080684ebbb))
0.61 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.30 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
2.38 ms
(0.00%)
# apps::webhooks::read
SELECT `webhook`.`id` as `webhook.id`, `webhook`.`name` as `webhook.name`, `webhook`.`event_name` as `webhook.eventName`, `webhook`.`url` as `webhook.url`, `webhook`.`error_count` as `webhook.errorCount`, `webhook`.`active` as `webhook.active`, `webhook`.`app_id` as `webhook.appId`, `webhook`.`created_at` as `webhook.createdAt`, `webhook`.`updated_at` as `webhook.updatedAt`, `webhook.app`.`id` as `webhook.app.id`, `webhook.app`.`name` as `webhook.app.name`, `webhook.app`.`path` as `webhook.app.path`, `webhook.app`.`author` as `webhook.app.author`, `webhook.app`.`copyright` as `webhook.app.copyright`, `webhook.app`.`license` as `webhook.app.license`, `webhook.app`.`active` as `webhook.app.active`, `webhook.app`.`configurable` as `webhook.app.configurable`, `webhook.app`.`privacy` as `webhook.app.privacy`, `webhook.app`.`version` as `webhook.app.version`, `webhook.app`.`icon` as `webhook.app.iconRaw`, `webhook.app`.`app_secret` as `webhook.app.appSecret`, `webhook.app`.`modules` as `webhook.app.modules`, `webhook.app`.`main_module` as `webhook.app.mainModule`, `webhook.app`.`cookies` as `webhook.app.cookies`, `webhook.app`.`allow_disable` as `webhook.app.allowDisable`, `webhook.app`.`base_app_url` as `webhook.app.baseAppUrl`, `webhook.app`.`allowed_hosts` as `webhook.app.allowedHosts`, `webhook.app`.`template_load_priority` as `webhook.app.templateLoadPriority`, `webhook.app`.`integration_id` as `webhook.app.integrationId`, `webhook.app.integration`.`id` as `webhook.app.integration.id`, `webhook.app.integration`.`label` as `webhook.app.integration.label`, `webhook.app.integration`.`access_key` as `webhook.app.integration.accessKey`, `webhook.app.integration`.`secret_access_key` as `webhook.app.integration.secretAccessKey`, `webhook.app.integration`.`write_access` as `webhook.app.integration.writeAccess`, `webhook.app.integration`.`last_usage_at` as `webhook.app.integration.lastUsageAt`, `webhook.app.integration`.`admin` as `webhook.app.integration.admin`, `webhook.app.integration`.`custom_fields` as `webhook.app.integration.customFields`, `webhook.app.integration`.`deleted_at` as `webhook.app.integration.deletedAt`, `webhook.app.integration`.`created_at` as `webhook.app.integration.createdAt`, `webhook.app.integration`.`updated_at` as `webhook.app.integration.updatedAt`, `webhook.app`.`acl_role_id` as `webhook.app.aclRoleId`, `webhook.app.aclRole`.`id` as `webhook.app.aclRole.id`, `webhook.app.aclRole`.`name` as `webhook.app.aclRole.name`, `webhook.app.aclRole`.`description` as `webhook.app.aclRole.description`, `webhook.app.aclRole`.`privileges` as `webhook.app.aclRole.privileges`, `webhook.app.aclRole`.`deleted_at` as `webhook.app.aclRole.deletedAt`, `webhook.app.aclRole`.`created_at` as `webhook.app.aclRole.createdAt`, `webhook.app.aclRole`.`updated_at` as `webhook.app.aclRole.updatedAt`, `webhook.app`.`created_at` as `webhook.app.createdAt`, `webhook.app`.`updated_at` as `webhook.app.updatedAt`, `webhook.app.translation.label`, COALESCE(`webhook.app.translation.label`,`webhook.app.translation.label`) as `webhook.app.label`, `webhook.app.translation.description`, COALESCE(`webhook.app.translation.description`,`webhook.app.translation.description`) as `webhook.app.description`, `webhook.app.translation.privacyPolicyExtensions`, COALESCE(`webhook.app.translation.privacyPolicyExtensions`,`webhook.app.translation.privacyPolicyExtensions`) as `webhook.app.privacyPolicyExtensions`, `webhook.app.translation.customFields`, COALESCE(`webhook.app.translation.customFields`,`webhook.app.translation.customFields`) as `webhook.app.customFields`, `webhook.app.translation.createdAt`, `webhook.app.translation.updatedAt`, `webhook.app.translation.appId`, `webhook.app.translation.languageId` FROM `webhook` LEFT JOIN `app` `webhook.app` ON `webhook`.`app_id` = `webhook.app`.`id` LEFT JOIN (SELECT `webhook.app.translation`.app_id, `webhook.app.translation`.label as `webhook.app.translation.label`, `webhook.app.translation`.description as `webhook.app.translation.description`, `webhook.app.translation`.privacy_policy_extensions as `webhook.app.translation.privacyPolicyExtensions`, `webhook.app.translation`.custom_fields as `webhook.app.translation.customFields`, `webhook.app.translation`.created_at as `webhook.app.translation.createdAt`, `webhook.app.translation`.updated_at as `webhook.app.translation.updatedAt`, `webhook.app.translation`.app_id as `webhook.app.translation.appId`, `webhook.app.translation`.language_id as `webhook.app.translation.languageId` FROM `app_translation` `webhook.app.translation` WHERE `webhook.app.translation`.language_id = :languageId) `webhook.app.app_translation` ON `webhook.app.app_translation`.`app_id` = `webhook.app`.`id` LEFT JOIN `integration` `webhook.app.integration` ON `webhook.app`.`integration_id` = `webhook.app.integration`.`id` LEFT JOIN `acl_role` `webhook.app.aclRole` ON `webhook.app`.`acl_role_id` = `webhook.app.aclRole`.`id` WHERE (`webhook`.`active` = :param_cba33526854b4cefabd59ef3d03a8bba)
5.36 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
0.24 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.19 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5116c2d7f19d4260b332c30f0c7f9c6e AND `product`.`version_id` = :pk77d6a26214fc40b789e47c8a0607fa97))
4.64 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2fcc9a5e815645eeb1582e9ff04c6b75 AND `product`.`version_id` = :pk8d305c25b8f54f288229531fb02dae87))
30.84 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk07bee7e536fd451abdba5f0598a82572 AND `product`.`version_id` = :pk53e706d395fa4ebd90ce9cd8cc4fcc5e))
0.43 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk99c3ab5c7bdb43259471e81cad6955df AND `product`.`version_id` = :pk37054d383b204b4ba21dc54c8994c701))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkaa12c41d1d5f45c188812afd69be4e5b AND `product`.`version_id` = :pk6d6dd182428a4f8b8fcae8e2d41e8120))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk19f7a3ed643c4409ae9b5015656b890d AND `product`.`version_id` = :pk2ef786fc05164ef48dcce7e154499b2d))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb8bb5f6b7f654b089d1afbc9b8eb58db AND `product`.`version_id` = :pkded6e6aa524d47dd8c29c101342073a7))
38.95 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5c617cb734e34d6090f70bcd2ab09f42 AND `product`.`version_id` = :pkce6eed9adb784c7db87a62e206e6a06d))
7.75 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8c33c267e28f4d2187562526d57eedd4 AND `product`.`version_id` = :pk56900546c03b461d8850ca2ba6e87e82))
0.43 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkef7cd069395341f8bf348b74ce4e6bfc AND `product`.`version_id` = :pk64a4549b677b40ad9c7c872077850ba7))
0.44 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk899083ed74824d47849906a4b918b09b AND `product`.`version_id` = :pk4b4b19c9a94648b1bc53d4fda7287674))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk47a2daab38184366b8b4d9bac3011e5d AND `product`.`version_id` = :pkbf7b2fce02454bee899a43bd4a6123e7))
0.56 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1fcef3dbecd14a37995af4872330399b AND `product`.`version_id` = :pk6726234ec3204027a8dc039771220903))
13.86 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkadea83430e6d44039bd07a8a136578f1 AND `product`.`version_id` = :pk6b68175c4a6f4480b664462b5480c91c))
19.80 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf8f1e61086004a91b24cc7f3ce883b1d AND `product`.`version_id` = :pke60d72a2595645329ec2793b998974ee))
22.73 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk33eafbf3c81f41d6a68d72c26a4b4061 AND `product`.`version_id` = :pk518897aa24b14fc1a881364e78802c85))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfb982c2fe920407f88d41a79baf25ad0 AND `product`.`version_id` = :pk01bf29c0bd5942c5bb41cc881a97f0d5))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4c6b461fabaa49c1a906d7d5aac53818 AND `product`.`version_id` = :pkae9b51e440e04a6fb0c148f6bd06155b))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke1695b268c5c42d48ecb7dcee06956de AND `product`.`version_id` = :pk0b52d7a7373440789fb6d0b0e715512d))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk018e94fc388546a88c9d7f02a5b780e7 AND `product`.`version_id` = :pk5a72340868f942b59a0a5faea4e07702))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkaf1e851f99f94034bc446a1a6432f553 AND `product`.`version_id` = :pkf1fffad816c04c858e1ddff5cb3a7ec3))
679.65 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.45 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.38 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.73 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_1129deead679402c9eaecf24c8728ec5)
1.47 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.26 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_0b12b1a15b534242997864ab26097ec0))
0.85 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.37 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.76 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
17.81 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.29 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk48e16bc125104e008bbb9ad2bd4a38e4 AND `product`.`version_id` = :pk7a6d4ed5f38c4687bd5f06f2be04ffad))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk38246fed21f94596a7d5d58b766bb3b3 AND `product`.`version_id` = :pka21e90f7e62842968aeb568d7034d6c0))
27.39 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk80664444cfd14e859f679fe799bd6b3d AND `product`.`version_id` = :pk7b3bfab10dcb41eb837e593a91beb6b3))
0.52 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb362b61505864769930a2512430a2fe0 AND `product`.`version_id` = :pk4044bd86fb7442368a27bf48b964bd22))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk58ebecbe1e404219ad528ddbca3b79e5 AND `product`.`version_id` = :pke082654c79ad473b955d76cd5d6cbe30))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7cac1e603f984b779653da22aad4984b AND `product`.`version_id` = :pk56f7280b40094d48a3c020ad32f21702))
21.10 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk83af114a39bb46ce96ea1256184e889f AND `product`.`version_id` = :pk61227f0102664f72a5706d9436a74c6c))
6.93 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke10fc98ab09143a0acab7048da66ac2d AND `product`.`version_id` = :pke82cca213ee04dee973646b8ad85a7ec))
0.39 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka0052670a9b94adebbf676bc224db36c AND `product`.`version_id` = :pk3f5179a769594a53a76d35941c4c44d4))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk14e47a0fc53343cabdaddf652d85b7b5 AND `product`.`version_id` = :pkc852fbf5b99b4b358a56f97b214f6aa9))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk54df396b81dc410c814a0a55623dc7ca AND `product`.`version_id` = :pk9d75d8ea8db94f8a998bd0ad9d3c13ad))
0.55 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4f6b1b760d524d3ba296be5109c9b3c3 AND `product`.`version_id` = :pk4be6a9fe5e8947e7905809d20c47ae86))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk54da4d7a76b84f2aa527e212001cede4 AND `product`.`version_id` = :pk9aa2a0ae17834a73929a682da7724bc6))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk572801eece7740048de33a2bf32f38d1 AND `product`.`version_id` = :pk042c416fcf1340a6ab20eee870511165))
39.23 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk20401250626a4fe080adb3406968647f AND `product`.`version_id` = :pk7dd2ff3e4c964d54a3d9b7580a580650))
24.88 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2f5cbcb691b7463dbab99ce18cfac0ec AND `product`.`version_id` = :pk5d0ea7d4b72646019b01a3f4bb42c171))
0.60 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc852cdce32d247bc99e80bfb7611de52 AND `product`.`version_id` = :pk5bda521947e3468b8b12bd3f9911d3b1))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbaf160e2002c42d58bbd142ffbaec5c2 AND `product`.`version_id` = :pkf998586d67c543dcb84d6d090fd217ef))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8d2d33d84a3641a7bd8ff07494d623f0 AND `product`.`version_id` = :pkbbc39e3c4ee44316b80bcd6f3eec2da9))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1eeb45713415429b91f7820a3e2c60de AND `product`.`version_id` = :pka21122dc7d024aff82c88174d6423704))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk584f3f2ec8e6416fa47f79d214c0ca06 AND `product`.`version_id` = :pk37408242d8c748938b3d2ce0c86aa9f2))
54.20 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(id)) FROM order_line_item WHERE id IN (:ids) AND type = 'product'
0.47 ms
(0.00%)
SELECT * FROM `order_line_item` WHERE `id` = :param1 AND `version_id` = :param2 OR `id` = :param3 AND `version_id` = :param4
1077.66 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.50 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.29 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.68 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_2ce1318fe029492f802223c8a441db85)
1.56 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.29 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_849afbaf57f64e5b89307adc1a50b582))
1.05 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.29 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
19.50 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
14.08 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.31 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.37 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka4c72d7614e0422487e9b444237b6ad3 AND `product`.`version_id` = :pk5897e5674c8847c2b7bd3e62c94a7144))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4ff9262f725844b68e848789dfbfc748 AND `product`.`version_id` = :pk2c94448442f34170b78586987949f376))
14.53 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0aad16e665fc4bbb9857e6d8d484ec37 AND `product`.`version_id` = :pka48cab8b0618483bbd2898694e00b3d8))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8ddef94743a34090ad700c993400eadd AND `product`.`version_id` = :pk1ebc30cca9d345178424a82d0c1d9da8))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka49a8d51d5434983952334cc663f2cd1 AND `product`.`version_id` = :pk5cfe6341702f470c855c25aa16a42925))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf57e06646da140759968fa0d56068e24 AND `product`.`version_id` = :pkf7361e0f8d2b44a1a2e42cf952d2bf39))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk890e7c3d4e634e9cad46517a82903074 AND `product`.`version_id` = :pka19bc68fa7e84e85a271987aba9e0964))
15.78 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkaed1ed2c43364ce8bc25204a2538002d AND `product`.`version_id` = :pk265a7467ef814b3189aef628bd9c0a32))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkdb41d6d5e6ab42f6a3354b239a011182 AND `product`.`version_id` = :pk4149f28de3534da5993360891baeb372))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkeb471f1c1a6c47768cb188f0222155f5 AND `product`.`version_id` = :pk019c0c1555ec4442844cdd3ca11c3e2e))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk74311cf7e3834357b639c3338039fd1f AND `product`.`version_id` = :pk75c89d2905854cf199442e49d5ce8605))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1cd9e4b8704441439bd34f57d68f44e3 AND `product`.`version_id` = :pke6c087b2da6b41c9b5892a3411724855))
10.70 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4e0e73e49e2d44ba98bd02ae334cdc89 AND `product`.`version_id` = :pk2671cfc526c241239736810b7d246173))
0.43 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk473667ec56f3428c8d9f47b416d971a6 AND `product`.`version_id` = :pke1b8e35aa1bf4fddb365593482a3116a))
13.25 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfa75057f010c471591ef11f2dae1eae4 AND `product`.`version_id` = :pk6c686342865d4b53a3f7249546781bc8))
16.04 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2b854f85e81343a098b410afcbbc9b48 AND `product`.`version_id` = :pkd3fac58d4e10427e98e7cb017ab15357))
0.47 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbfccaa6ab37e47b6a8f855b7a75a1d20 AND `product`.`version_id` = :pkc8a86a8a84a540409099005a30fdf32f))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk380acc15c715485093d98fcd989fe26b AND `product`.`version_id` = :pk4ccf757997f54f1abf0c8873dabfac1c))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd94b2bed66e8414982710ac0621c2efc AND `product`.`version_id` = :pk28c76f3954ef48d3b415fa2c1087cd01))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk627c2621d97642d59c919bab305038eb AND `product`.`version_id` = :pk667e9d4d86fa4447bf25fc1678831931))
0.24 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk35b9bae86adc4a3982580515b0afbd80 AND `product`.`version_id` = :pkb89a6c5ff958467997eee0827a008fea))
784.73 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.58 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.38 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.74 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_e5d651bdf6cf41ff90eb0f8f15f7a156)
1.65 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.32 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_2cc4ed3fa7694440bc4f0a6c8ed06d65))
0.90 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.36 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
9.99 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
17.86 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.33 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.39 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk70988a74897d4a1584c9d9569c52a3f2 AND `product`.`version_id` = :pkd3a846347eef48d6b5882466340875ff))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc3bf102ebe3948929d5c67ec1f733851 AND `product`.`version_id` = :pkadef88f7fe294e7bb84a32026748304f))
17.88 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk13f5da26e66a4138b117d49cdd35d01f AND `product`.`version_id` = :pk8484483e8d5c4a458283dc0a66d2a224))
0.47 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkacf9e9be2ec84b8fb8ac676e5f725cce AND `product`.`version_id` = :pkafe5425882da49e9ac7b238cdd517b8e))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk05f096b83bce4fdcbd1cde5aa97a1be9 AND `product`.`version_id` = :pkeab5a91eafec45d59e789c545195aa27))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk11bfa63b13fc4475b7b6de3f5ef7d098 AND `product`.`version_id` = :pk77ce4f2787db44219898589d84b0faf7))
26.45 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkde6d89df18674a4580c9dd66fcfd8372 AND `product`.`version_id` = :pk743c3bb6362c4d15bf9e5945596d3072))
30.71 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk880492b25d1b4af08785578d2df95e22 AND `product`.`version_id` = :pk95e193f7a9134a68bcac10d1d40aa8d4))
0.51 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbdcbd45deb5f4d6bb4297cdaa3bc33e0 AND `product`.`version_id` = :pk01b13a8829bc432cac762b3856853c11))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk12400741f4304a32892d39cd7358e424 AND `product`.`version_id` = :pk0540dd5a402c477eb3af0cb600abe733))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk00045e8b70874246b51136b76fd5186a AND `product`.`version_id` = :pk9de295afe21c4c05bb60a2d344985618))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk484beb88217941cd8e88f44f6d5c0f00 AND `product`.`version_id` = :pk350a35eb5b104b9cb1e2a5582918b2b4))
7.42 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2ed76d6fd09042ea8d6b8370b60ffc75 AND `product`.`version_id` = :pk3fe51446978746159fbad5997a6a402b))
18.88 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk527b2026a8664128b4e36e7f61f976c5 AND `product`.`version_id` = :pk2f41a4922bb24a85b8333cda65a4d5e3))
21.97 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke991a7cb233148ac80550b84b9cf91d3 AND `product`.`version_id` = :pk179afaa60b624552a2e6d5a22365fbef))
47.49 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkee8880a46a89433eaad137ab3bc88e70 AND `product`.`version_id` = :pkb751b436e3ff4e1093149d950d579b10))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4bee5f3094614fa98fac9b863fc793fb AND `product`.`version_id` = :pkb47864693161457aafe5a019c7e472f6))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf88ea7579fb34e75bc7539632321db0e AND `product`.`version_id` = :pkcaaf8fbea5bc4208abff520c19cc7f15))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk239f4c8e19a64100a1f2d6ce9ef3122e AND `product`.`version_id` = :pkfef051d6ed51419b8d742321b99cec06))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2a4945f5e62e4f758eb107268c15c45c AND `product`.`version_id` = :pk7e3fbb2e700448868f0943d1e54797c6))
0.24 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk89dcde59c3f64d05b4d13f6b361b8ef7 AND `product`.`version_id` = :pk4aed64cfcced4e779a21e0e56ccdb369))
1012.22 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.52 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.32 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.80 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_5565661e0ec84aa8aa84b59611df6f1d)
1.74 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.31 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_a165b234d3a44045a77b2fa0c37e2515))
0.69 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.30 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.31 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
14.77 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.31 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3b3ea7c9d3a24b6eb608006ecec69976 AND `product`.`version_id` = :pk8f126b382bea455a8f590fc35739fb64))
0.25 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke8f0081e980c4c75beb20297fba75d42 AND `product`.`version_id` = :pkce881cfb300c49eeac5abe2cf6c3010a))
7.30 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9a8dc2e3de77431cb86addd3bdd543dd AND `product`.`version_id` = :pkbbd64b7960434832b21e80b205442d6b))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0f89d5e259974d5ab4e7c80876e2cd31 AND `product`.`version_id` = :pkbf6821dfcce840078190374ac718d431))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0116cede13f74f13bbf50b6c886fa824 AND `product`.`version_id` = :pkfe63b11c5a9b4c309ebafaf4779b614f))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbfbd3be44f944d6584135defde4c997a AND `product`.`version_id` = :pk2d22e7b79e1849f08beeb87b14709f38))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk52b74c4aa5024ec59c5b7af07919ccb0 AND `product`.`version_id` = :pkfbe62cf1a65e46089ed16cb87e39044f))
9.63 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk99fbec6b00bd4ebbb44715ad4fea1b9c AND `product`.`version_id` = :pk40aced0b2741480aa5833d20dafb380f))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk29115d7fe4754a4bb4fce5c4a895b1df AND `product`.`version_id` = :pk2ec02546dd904d1ab11df43e6d5dba8f))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk68f9fcbed08c46709c7b740aaaa02198 AND `product`.`version_id` = :pkc0174c9565b344bea3f1f4f6be263bde))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke0b72f5a6c3949c4acde9fbd4b85e9c8 AND `product`.`version_id` = :pk867019e87cac43be8e1a86150a173aa5))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk39bf4d5db56e4aedb703a85230ac3bf9 AND `product`.`version_id` = :pka07e5c853daf46048c34a391e3f269ad))
15.65 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk312a3adcae7642f38d2476468ee7a59d AND `product`.`version_id` = :pkf3e3dec15eaf479e976d79d3669838f3))
25.45 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk42ff9c6aa9b34eafa052f7c1d5976a69 AND `product`.`version_id` = :pk79d7278bf39e49d6a908e2bff6c7c27d))
0.57 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk73ff5089435940c0ab6a2e8c7883540d AND `product`.`version_id` = :pk33bc2bd56d144c87b06994bbce1c590e))
18.21 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2477cd81a3514aefbc7c3265af6f893a AND `product`.`version_id` = :pkd60d67127fc647868c185d58f3b0b093))
0.46 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbb941dc9702140269b260bf8622879b2 AND `product`.`version_id` = :pk7b65dd5922bc4681b6db9e39fc7d2cd9))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5df852d75497415396ef91214f23d6ff AND `product`.`version_id` = :pkc17a113408694267b9930b2a9e08c5af))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb0f42e37baa04df3a7b5aff24bb0aa70 AND `product`.`version_id` = :pkaa0db3792b4b4fd7adaea362d9b62259))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka026c5e7ad344a5c80481c6e479c1a38 AND `product`.`version_id` = :pk83d950e4db6d477aac59bfb206ee9cb1))
0.24 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk889c99d8a7584b4a993bc6223ebf4b8b AND `product`.`version_id` = :pk136c7d26aedf4ae7a4f6eb3b0b3e7d5c))
460.77 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.50 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.36 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
2.02 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_92ec4cae9c5440a080aab42d135c31c4)
1.60 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
11.18 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_af8e2fafbfd24137b0113a7cb351bb1c))
0.71 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.28 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
21.40 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
5.56 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.23 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbba61df033c24523bde3d85ebe2c1f92 AND `product`.`version_id` = :pk748d62935c0d4ddc94a22db9e308bb51))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk52b0073af6e642d7aaa5a12c4c7917af AND `product`.`version_id` = :pk130443f4275b448abb82f22b347efb43))
17.95 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3d2bf7104f2c45a1881ba950fdae2638 AND `product`.`version_id` = :pkf80432153ee841f29d7669ac1d9799bc))
0.43 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk82e5ccc87da041879d645f38606801be AND `product`.`version_id` = :pk37f305513a1e49e4b2833746d5000cf0))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk710181f947c84f38be00228b7dd908d2 AND `product`.`version_id` = :pka19afab4a5fd4370bfecc183b909490c))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4a568a1e29b549b4be11e995e6a38b6c AND `product`.`version_id` = :pka300249bd8004498b936647ba9102260))
19.60 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc720d1b287cb4673ae38ce4823088a43 AND `product`.`version_id` = :pk10992e9b9e374eafbdf6ab45320fa511))
12.84 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk093282845db848218d0a33c6663ca423 AND `product`.`version_id` = :pkb7848548bbe04aab9feb3ef1a4de75f6))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3a3417837d834ae399e3e032e6a0f102 AND `product`.`version_id` = :pk08db8c8ee28b4f9d813c7d632fcf94f4))
0.55 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7a96ab375a9540e488ad770ea8cdd1c9 AND `product`.`version_id` = :pkd07facd1d01540a7b564b4f8ae67816b))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8df7d75d7b594037ab6cdfa366887195 AND `product`.`version_id` = :pk6545ea7ca9fa49399d52052ecb6f0a0c))
0.46 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk71bedab5fb334c46ba5066a28605e930 AND `product`.`version_id` = :pke1c73110608e4c5daae7eee9472b03f6))
6.99 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9bc492734c054d459eab2956001ebaa4 AND `product`.`version_id` = :pk126bfc5f921f4e3fa0d6180e9135ad94))
0.53 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd65f31efce0f49fb8af76094c71c565a AND `product`.`version_id` = :pkb89c5e395f7b4036a5fd8177278fd53e))
11.13 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9732903537d3451fac6f75df798c6974 AND `product`.`version_id` = :pkb15eb5560cd04a12bef1bde32b1c665a))
15.89 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc0ebef7aca884391a5e1807b38e0044e AND `product`.`version_id` = :pk758f2928198d43409079209cec86f1fe))
0.51 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6745391f600647419f0b668d0d08d23d AND `product`.`version_id` = :pk4ef1a4ea8bc944798e9f37490a739e2f))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk96b86b86652e44b18a809dc6589699c1 AND `product`.`version_id` = :pk8d8342097239478a8b4c4fa01396e13b))
5.41 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb8250432b1c74252a18bc4d037067b0c AND `product`.`version_id` = :pk0768b1de36704b5cb7cb8312a06e8dc7))
0.74 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke4c9e5b8e8b34b798aed2491e67009fa AND `product`.`version_id` = :pkf8617bf228f34dd7881a01a135ec9171))
0.46 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka20d4c8506b547f8b2af5df8bae3298b AND `product`.`version_id` = :pkde50ab63af744ca1bf6471d3d49205fb))
547.57 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.58 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.34 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
2.64 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_8b589e06195c47218fa2f04276eb8a2c)
2.18 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.32 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_afe7ca55753b41e695f749a820fea721))
0.73 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.29 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
1.56 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
13.05 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.31 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.44 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka49b16898170486f92a2654b107b9363 AND `product`.`version_id` = :pk7df6f9a6df51461ead80be4852a0d27a))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka2ed6d43c0444e8181c40aa4c19dc456 AND `product`.`version_id` = :pk1ecb7e3cdd334d9ca88e92664f2460e4))
21.02 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1e83020346ee44349708dbe45857d2d1 AND `product`.`version_id` = :pk7eb8086fecb44f2e8bcde818a5826318))
2.81 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd0ae8efb53134fb0a01e495b307a9da5 AND `product`.`version_id` = :pkd13b3d8537fd45dbaf9f0f5c4a72614a))
0.47 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk300f25c9d30a4ae2aace921a24eded42 AND `product`.`version_id` = :pk3cb6c487e6c244afa846f4aa911efe6a))
3.01 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9ff116225f574877b3a10d788cfec3cb AND `product`.`version_id` = :pk2378bc917c1e4f39b54e0605a2be9b63))
14.92 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8226ccbcd5284d899207ad76f9cb87ee AND `product`.`version_id` = :pkdbd7c72e3b934ecba8e4465c69dc110e))
10.83 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk29e2ab5ddaa64a60a2622520cce3b722 AND `product`.`version_id` = :pk818ceb9b01cc4a47b3624d539f85f49e))
0.49 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkdb9449c2c0c84647b91e817f3175cf5b AND `product`.`version_id` = :pkce1820b14494480d9ed35ac39ad37c7e))
0.68 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkff5356c61ddd463ba5654e9df49993ee AND `product`.`version_id` = :pkcf4a5f4596274e639cd7249be9381f6a))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk581059a42c734f7eac5faf414f1f4c7b AND `product`.`version_id` = :pk8f4d0c626680413ab55b5671738db7fc))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd9696112056f46fcabfe3dd30bcbb94e AND `product`.`version_id` = :pk666c9f8f737f437a88af9d002a185036))
15.35 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7b02b1b5acdd4fde82346ca675f7d625 AND `product`.`version_id` = :pkd4e116e4a7fe4079a404749c89a2d313))
6.68 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk454933b743204aa3a993387ec866c0bf AND `product`.`version_id` = :pkceeef79cb9be47a09ff972963a859eb4))
26.73 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7b94701b55a24398add8812795af0669 AND `product`.`version_id` = :pk00df6c5561c348d5ae02031f22bd0bca))
24.63 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkca270ab5e0734740b9c432b3e27aa5e7 AND `product`.`version_id` = :pka94bee8928a247fe9f41c05aaba208ee))
0.61 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk29f5b1873ecd4b2e96d99634a311af97 AND `product`.`version_id` = :pkc7bd6f2a0d3f44feabf13bb5e7f1f4f4))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk00991053558e4d208d5198ac90a27b63 AND `product`.`version_id` = :pk5e2eb20533a4471cb11f2e23a3537703))
0.41 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf747a1d967fd4941be571711fc8f1fb8 AND `product`.`version_id` = :pkbe24058b84124e09b6267ad23b133a17))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk305d1707e91946639017731221e6798d AND `product`.`version_id` = :pk3deaed1d36444522beb2944263044498))
0.25 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd324e68fff6140649aecbe2177e8bce5 AND `product`.`version_id` = :pk64f93b1b7d0a40beb9d2163136966836))
620.84 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.45 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.31 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.68 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_06970a27783e4fc0ba4794a63e996027)
1.69 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.28 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_2487a5f0eca742ce8c0ac020f84c65fb))
1.14 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.37 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
10.98 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
21.80 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.48 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.46 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk95d5a3f64e8c40a1bad27743afa8c6d9 AND `product`.`version_id` = :pk53d46ed6ff0043d0a565e19655fa7013))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc088e8abdb7b49f6974503556714f4a2 AND `product`.`version_id` = :pk2a29153bd81148e69b64acd3cce370c8))
24.54 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8b6af5ecffe5408d80123064b4c12fbf AND `product`.`version_id` = :pkd67cc264d1744011bae9c26138b026c5))
0.71 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk54914ef83e4e47158bf627f9ab4bf93d AND `product`.`version_id` = :pkdd144662ac3742a7b449d132f67a36bd))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke0f10ec1ae1c467a83be07f42469a889 AND `product`.`version_id` = :pk58a4d7102a74495ba7e4d8870fdb8bf5))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke7fd70b7ac0a4c3c8812aa831df26f28 AND `product`.`version_id` = :pk8f69345196af45b2b783f84f05447e69))
15.91 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk01604f0e05514e9ea5645b9fbdc93809 AND `product`.`version_id` = :pkfc4c94dbdb654333af763524df459bcd))
15.13 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk25b050d14c73422abc8a173a28e66d3d AND `product`.`version_id` = :pkb4cc1ee2264047f597a2643d9823a51c))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd76333d964e549ef91217b7e8f1393c5 AND `product`.`version_id` = :pke2930dc358f6462a83442bd23c45c464))
1.01 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk10527bc0a2634ed98e91f544d4e33918 AND `product`.`version_id` = :pkeb37d99f8e2e49ea96c6cd44ad1d7d26))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke143892051554c58ab053512d13a1fb1 AND `product`.`version_id` = :pka39a5eacb10b44d5ac49c42173ddd8fc))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7bb7c9ba5b384088b000ca30e37a8150 AND `product`.`version_id` = :pk4c881e8cd5114f2f9a2678c4ef591885))
7.37 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb3aeeba0d5ec49c29fa8c8a85823e483 AND `product`.`version_id` = :pk7a6f5a6032ef4cc4b187fa66f3aa8e67))
10.52 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5ae715341cbb4158aa2bd2059cfd92e7 AND `product`.`version_id` = :pkd9bc05c0610846299214b32145ed8f9d))
12.73 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3e3b0f7d45dd4c6497a38ddf761ce8df AND `product`.`version_id` = :pk55125848beb44a11ba371c1431031436))
12.81 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk832fe73930b440d0a388838c3008aadc AND `product`.`version_id` = :pke1aca840c8ba40e8b1c36f6564393d2c))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb0021f7946e84faa9b188232a6d002cb AND `product`.`version_id` = :pk00b72a70f9804e5fac6f9b39904ebf86))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkaa3448575ada49e0ad988828bc5eef73 AND `product`.`version_id` = :pk8d2b5577895c4322a8dc40fac28d1f85))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf1cfc6366e4247128ccb02e80850b352 AND `product`.`version_id` = :pkd8637cc48bc149a4a08245a952667f9c))
0.53 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5e35f343f50240fdb49b3e043b0a2ffc AND `product`.`version_id` = :pk08e78a4cf42f46e1b058399e2a7dada4))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9aa674bb297246cd944a8c3303525443 AND `product`.`version_id` = :pk7b7e535f4a1f4a5282e5ac8e02524970))
394.81 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.47 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.34 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.75 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_20fe7b14479c4bf3bb866555161d8ca6)
1.50 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.26 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_43eb820a286c465e961bdaa545c0d0cc))
0.88 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.29 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
1.36 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
7.10 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.32 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk39d91c7feaa945a19494f2bdb09721d8 AND `product`.`version_id` = :pk266a4b5f683945baa551fbd7da6a5cc5))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfba07f1dea39497c9036cf87adc5e3c8 AND `product`.`version_id` = :pk21af5d84ae5f43ae9f14fc33e9cd1f0b))
10.89 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkacc0c693435c412cbf2ab69b51f39a94 AND `product`.`version_id` = :pkce7668371b18447c9c18d135d442e0df))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd3424ef50e1e4c348b4293c154572983 AND `product`.`version_id` = :pka6a04842f7c64e7f9bb73133c59bdbb7))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf4b1944e2c5942ca9bc7d80d86386da6 AND `product`.`version_id` = :pkcf95ab942e2b4f12be98768fdc842679))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk959f6c6e26004ba5b88b788ea5d258f5 AND `product`.`version_id` = :pk2b4aeb6ae43842b2be97e2fe0918f125))
16.62 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk88153149d28d4326996fafc3b792a178 AND `product`.`version_id` = :pk1b44cf2ac3ff4e00a5c3c32eca160147))
11.07 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9b5817ace59e47c6a3d70399822724ae AND `product`.`version_id` = :pk6f993fc1fc3644d8aa7845897e2f84b7))
0.51 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk29a380d84a5a41bb869ec8ce3c35c48d AND `product`.`version_id` = :pk6ad16a56812b4a069b6137f704854d41))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4bed50827c1648e8a44f51f21cad6d3b AND `product`.`version_id` = :pkf21a4ee0e356450b94c34a05cf067b53))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7f572f8b42cc4cc8959a2f06c4d98ec2 AND `product`.`version_id` = :pkda3fa2f68f0f4162b6572058c48f2783))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf34b5a5b423d4d908f2b8020f5971e61 AND `product`.`version_id` = :pka36ba735b019431fb486029f63741ebc))
11.26 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4965970081254a12a6c1bfa358c40438 AND `product`.`version_id` = :pk764802f4dfa54b91aa4706d3ab022b06))
9.73 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk579cf74e33354bc7abdffe583867f269 AND `product`.`version_id` = :pk8c2bbd5d8dcf4b62879acf2f94e0d5d9))
11.88 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbaf6dbd40dd74449bf0d38cecf0c4bf5 AND `product`.`version_id` = :pk062dcf8ed2d44351b1e3705b5ba63f3e))
9.69 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke3005d2ea5054e93a7ed4c668ed553d1 AND `product`.`version_id` = :pk6853d288b1e74d78a1b5f73c5a12ebb3))
0.52 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb2eb0fb9130340e4aa1ec947bfbc3520 AND `product`.`version_id` = :pk1dfe035e32b04ca19eb6621a9b6f028a))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4e51af99aaaa45a798813ce761ab643f AND `product`.`version_id` = :pkcc3e4aec6fbf4015b440c0cb1a10506a))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6b0f69a1392f47048586a86dd4905fe7 AND `product`.`version_id` = :pkbbcbfca5c0b24133bfce274e0ffc3142))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk7fc38f97927e48ee89edcd154887c5cc AND `product`.`version_id` = :pk325c2e7bdef1435aa51759d8a9182158))
0.25 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf19d168aa5724b57bcfbdf4797d7b83e AND `product`.`version_id` = :pkcd47babc5d2d4c2e9e63613735068c2f))
264.27 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.44 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.31 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
3.59 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_7da8d8f78ae747abb4bcc73e54228990)
1.69 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.31 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_1740fc80280e44db97714909e48cc1e3))
7.35 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.50 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
11.45 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
8.66 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.28 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6c86fbc49ec040afa5381f575b69a40b AND `product`.`version_id` = :pk9d3de9d29e1f4f0bba16ff356554d5f9))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk454acd76e00544c08cc6691bf192292c AND `product`.`version_id` = :pk77435c7e15fa4e0faabc3ddcc78e62e4))
11.36 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka5f556fb3a6344bcbc4615b4cb01579f AND `product`.`version_id` = :pke5a5c15b5af04052985f9896c9b3283f))
0.46 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8c6650fecf0a4926b9fe1108ca780723 AND `product`.`version_id` = :pk15822effa6704b508ba5b673433a1c71))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc960e19d4d734367a30c0a98ca20bf9e AND `product`.`version_id` = :pkdff56270e1ab46e0944a893b59ca82a6))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf4e40698d98a4e0cb54ff22bd8be373e AND `product`.`version_id` = :pk9024564b865545ce941a06920036c7a2))
15.39 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk09f022a6ff93405c9fd89e1d412e0b8d AND `product`.`version_id` = :pke4fc0672e2de4ae1b21da02be27ce15b))
5.68 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkcc5d4149cbf34bcfa09a3077c4ecf476 AND `product`.`version_id` = :pk1a9f560a88624f42b2bdcbf773f666a8))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkeedb711ba1b74e25a976125b2c0f2d34 AND `product`.`version_id` = :pk89b95a95196b42b88f6591d59ba46799))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk78ea79d9de7b4ff2bfb2dafaaa64b61c AND `product`.`version_id` = :pk16980e1846c342cf85538457e9893a45))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk469f158c675f47578f6604260df6ceca AND `product`.`version_id` = :pk58239e28874944a2a4862c10164581fa))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2ddfb6d1443549eb8fe951a6b6f51bed AND `product`.`version_id` = :pk725a82105de04a258ed66e35462099c5))
6.72 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb6f5af826fd346068f7405d6f90bef78 AND `product`.`version_id` = :pk0827e2f60e3e495f8bc7a6047212d0c2))
4.64 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6886295d287f4be7a62f080e6019e583 AND `product`.`version_id` = :pkbca01668cf58407b959849d5a9fe07dc))
14.77 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfe9e989972d64e1f84ae9c7ffa54633a AND `product`.`version_id` = :pk456ff1a0ddc542ad91ef92bf3d1bff02))
11.85 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka4343134f3834df1879ba26fc78677f4 AND `product`.`version_id` = :pk06f47571bcc9453dabfff91df51e6dc0))
0.71 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0a9517b6dc0e46bca8f38983729802b4 AND `product`.`version_id` = :pk0157beb2c1f040f89d2651b81b12c401))
0.43 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2b151a7558ec4777a6563ac5e93f53fd AND `product`.`version_id` = :pkff05a7a6f84c4929800cd4b5c2a1e486))
0.63 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkdc33a2517c0b407880c4a357a55e001b AND `product`.`version_id` = :pkd3a9e69c0be14bdd8ef57eb40b777ae0))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4135ed1fe29f4c1aae9353ccf11dab35 AND `product`.`version_id` = :pkf07d847001284927a29bea5ff15af73c))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf577ad09fd5a4c9ca09f46cc364cff95 AND `product`.`version_id` = :pk2cc72295328b475f8d9b3c6dce678838))
213.20 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.50 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.36 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
2.04 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_84dc0432bbba4c2f99e2907fb57c0c8b)
1.55 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.40 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_af6f93b1f4a2410d8bc3ecdc51a676f7))
0.93 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.38 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
17.10 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
11.60 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.27 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1ca314593bdd41b4a53731c1fb1e9858 AND `product`.`version_id` = :pkcf77329e11c9494e95d712876f3c64c9))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4a0a96ba62214aa8a245134d44fa0c34 AND `product`.`version_id` = :pk1da0a8dcad1a4fec8428a163878acb1c))
13.48 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9445ca605406433cabd5668eb451382f AND `product`.`version_id` = :pk8dda3ea02d584b7e85a98ca21f0a0420))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk86f00c45acf14ff5a1d297d747dfc692 AND `product`.`version_id` = :pk5962a4cc9220448ab157bbe2084bd5de))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkeb356ea2aadb4b74af57f66dca69d0fa AND `product`.`version_id` = :pk5408816f4af04b97a9519aa54ed0d5f3))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk71d49bad74254c698b5181d1fa1830e4 AND `product`.`version_id` = :pkafa25ba2a78e45aaa2cb79b8deb0cf75))
15.25 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk69e9e68f62524a518a488c065bd652c0 AND `product`.`version_id` = :pk78bae06241184cc799d6b7d82e169fb2))
15.64 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk654e654ed02541b3a77b76592f6b79d4 AND `product`.`version_id` = :pk1c645c1692df49ebbec7f15a0679244c))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3ec8e38dc28c4510b3075216f62920d2 AND `product`.`version_id` = :pkfb3a06fd97644e3c95a751f0418fbd6c))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke7801976500c491a92a6bb8a1a8cd3e4 AND `product`.`version_id` = :pk852e28c4f3c340faadc656260ad7d235))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke7c318c78e064dc1adb768a7d701e038 AND `product`.`version_id` = :pk8c84cf3cbada4e4e90397314018a1344))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8346538e2bda497a9f3983b1a9043f2b AND `product`.`version_id` = :pk5e86d951acc140a28bbbf55dc844df6d))
11.10 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1343ec822fe84bcfa86fde544b4e4433 AND `product`.`version_id` = :pk39ef3e494e70440b8ef61bf63f9613dd))
3.78 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka89fc379fe0b4c498be9cb75cbd76077 AND `product`.`version_id` = :pkea2a17c5027445a49b41d39f111b3805))
15.63 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke02fc1a7d77a4392bf032cc078da5ef5 AND `product`.`version_id` = :pkc280e3995df74529be344a0ddb473f4d))
9.79 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6b4e208e6785457aa1d2a8c22cf88387 AND `product`.`version_id` = :pkdeb166916a6a4986b3e5a6561d6f30d8))
0.53 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3065af073607491baa6e8b2bce7d9427 AND `product`.`version_id` = :pkca3a10b842a4450a89d1f91b304aab77))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbe3c1dbf95d74138ba7440f71554b804 AND `product`.`version_id` = :pkf5f0229d37eb43c9a90e0a68224e7016))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk60cf7652288d4b0397f95f622729d4dd AND `product`.`version_id` = :pka17b577763284b70b2be8e0ed9e77442))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1c35081d3f9a4896ae43763e9112c00f AND `product`.`version_id` = :pk75a4c530a8c24879bd74ed739ea2a0ef))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk892d8849687648b89595b3e4e1ba7577 AND `product`.`version_id` = :pk13f9dd453d404baabf86501e9eaa6c9e))
260.13 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.59 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.35 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.87 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_c8f17934d7034969bb1109e116b9ce3c)
1.63 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.32 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_49afa2c6bade4a01bedb2034fd02da17))
0.82 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.28 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
37.13 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
14.85 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.28 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8b94b6d6b5a840ac8b6888df10b4001e AND `product`.`version_id` = :pk09385a59aa9549af972db67833c29093))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk40bbd5bdb12e4f7cadb5afeb295bccba AND `product`.`version_id` = :pk9544b4d25d8d44cb833d88cf46dd08d5))
20.39 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk47740d297e4d47f5ba77b0563bff22a7 AND `product`.`version_id` = :pkf7358b2f43d84ecfa824a7200c29c4e8))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfc083187bceb48fa80981425d4e38bd8 AND `product`.`version_id` = :pk86242fa963cf455aaac57795f68a5521))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk79eb6978ae2a4677a074b023fff22ced AND `product`.`version_id` = :pk859fba983a6b4534b14b8a4729d2ee86))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk61579d31ed6f443d9dd1094ec2c0db5a AND `product`.`version_id` = :pk5188d246b98747eb81a3cc96cca228a3))
24.58 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkdde9359470a748f39942237a55030da5 AND `product`.`version_id` = :pk94ad363ad3b64be8b900b10629343c43))
27.64 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkba3afed73d864afba7a43f604ebbce0a AND `product`.`version_id` = :pke4b8d5ca3bb345f4a223b2b5fc459476))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4eab5d2d8d0e435f984d023c2b489228 AND `product`.`version_id` = :pk7a620dcc4dc94378948db2358b68e557))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk28382de3edb14b5ba1fc320e3d50b7fd AND `product`.`version_id` = :pkda089869aa784736805874eaceeab204))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk278bd5660fe24cd3b502b05f07b72e57 AND `product`.`version_id` = :pkd3da54156ad6463aa9030c0cac384cc2))
5.29 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf6d8ad46d0a94227bf0b61e9c4052de2 AND `product`.`version_id` = :pkf672ddbdcc9b41e1895daa7052b8065b))
14.92 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke4ee8dff58fd4cefbd2354929216b533 AND `product`.`version_id` = :pk05465c136e0f4c94ba4eb565ca341f0f))
4.39 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk28227425857242d89b7f71982cb72f5d AND `product`.`version_id` = :pk0c593cb4c5c64ac89762b9009246f60a))
10.89 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk50139b7ce4474fe4a4c91f196c8c95ca AND `product`.`version_id` = :pk97b7c62c6ba24b73a8e553a9eeca74eb))
3.80 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb7236e70a4a64c5d97a10beb8c63cdef AND `product`.`version_id` = :pk97bb44c5d4d7496da7210b3163746599))
0.62 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1a087f4d91ec4eb9bceab09966d468a3 AND `product`.`version_id` = :pk13f987025a464df89b7eacb2bdd4de1c))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2059c8032e4b46888b331e08a975714f AND `product`.`version_id` = :pkf28ddf7850754f7ba191b7d4f9a7b384))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk547ea39181ea4ddf91c6841ec459b7be AND `product`.`version_id` = :pkf2a811e8b4f14803893415f8dd4dccf7))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3419dbabf8cc4f749d321e13011f9658 AND `product`.`version_id` = :pkc7cb5ac73279426b88caf27bb40fd4d7))
0.24 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk50b7ea4bc0e24e83953ffdfd59592969 AND `product`.`version_id` = :pk2781a71e16434742921b3e77d3045a88))
427.89 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.45 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.27 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.64 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_ad8ebb099a5344eb8bb4c959ff308c64)
1.43 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.31 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_6fc1dad9e48b4714b9f663698e14e428))
1.21 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.47 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
7.00 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
6.69 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.27 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk32a2e11660a348b8963f20c1cb43d6c7 AND `product`.`version_id` = :pk9430d75d4bba4bfba3abe8328c6585c8))
0.25 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8a46309d31874f2eb638d21763870018 AND `product`.`version_id` = :pk2441616e3366408e9d9e2ee795e86486))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pked6aac5a80f54bf8bae3d2a894071773 AND `product`.`version_id` = :pk56bf138982ff47fcb11481d42e21f20a))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkac06275ffbea4362b014a532009c9d71 AND `product`.`version_id` = :pke35d54d9f57b4c0d910388c38f4b30ce))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk128f4073a6084aa29cb11af3214bd321 AND `product`.`version_id` = :pk75f3023b22104c6aa51ae2b546235610))
0.97 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9f3813d77bc34174a1dc63998add9c19 AND `product`.`version_id` = :pk01fd4048e28d45ab9261d24b1acfb76b))
21.40 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk219186ed2d85478ebba00cb037d76a17 AND `product`.`version_id` = :pkb8cce427465e47a6859fec4dda97e2ac))
21.79 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkcf6191bdb0eb48748590c49a1162dec2 AND `product`.`version_id` = :pka8645d1ea1e54ae0a586f0f9a4f223ab))
0.55 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3c89760720184cc5a4da8c8b48d39fb9 AND `product`.`version_id` = :pk33acb6adbf2346608bf16ce1f9dc04fb))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6427f80ee1254c5ca354f39eac9ad6f8 AND `product`.`version_id` = :pk46369878f1db4143ad55b3d3dc3cbae6))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk538030fc86e34b75b6b7fe086c03cc3b AND `product`.`version_id` = :pkac14632c05dd439ebca29d2d7263d05b))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk171ac1cd0fab44e892775c51c36b941c AND `product`.`version_id` = :pk2cb839607ced41a1833aaee2831f8332))
10.42 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk49d6f33d8fa4470d9fe0a8814ac663d7 AND `product`.`version_id` = :pk045188c144b44fd0a660f55db50c2c9f))
33.35 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk04539cee330842898449a4ef0cbc722c AND `product`.`version_id` = :pk98fd626e7da748f59d99bdb9d0e2599e))
0.60 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb99d6517fcc04d53a57c7ca4a3e2eaca AND `product`.`version_id` = :pk4d681a38ed6f4e68b8c9a0fec646e22c))
2.25 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9e6d98b52e1b4ff794e0e29bb578a147 AND `product`.`version_id` = :pke87ce8b509cd480da3c3c12e50c803cd))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkef413876b38f4cd388f2de8b191e2111 AND `product`.`version_id` = :pk6064f60bb07e495cb1019b9dee025a17))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk005dd7f8c42d4cdc954f342461151e8e AND `product`.`version_id` = :pkaadf2ca6f205492781d0b43defa444be))
13.86 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk883571cfd59e4fa196723e305f1d1b69 AND `product`.`version_id` = :pkc795b9318a4840c4b9f7da50df3b329c))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk25b207e3eb8f47b28c0195c519388c90 AND `product`.`version_id` = :pk7a29b2b0a96a4e84a4e23a0ee1865fbf))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk031056c214d14ddab6371a9c1a259fe5 AND `product`.`version_id` = :pk351ee55ffc8246a7888988cd13e4b7ee))
225.16 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.44 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.39 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.59 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_2cb84475ba6241ea8a82d473e7f7ba3d)
1.49 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.27 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_224fef9ab4e8450f8db4905bb7fea691))
0.65 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.26 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
10.82 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
6.46 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.23 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8adbbd626b63489db71254d15368dec8 AND `product`.`version_id` = :pk32a9726ad9e84c4489d8bed8572ea30c))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk08d2454f1ce04c5ea67304ce9f6e8e84 AND `product`.`version_id` = :pk12e3416e76ea4c9f8774a96e20815190))
4.44 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5b899ad805c74b809451247f43482cf0 AND `product`.`version_id` = :pk0a1b58ed81e1451da205e2812d88bf48))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb420ead3eae74d40acf4e1726157f9aa AND `product`.`version_id` = :pke0ff42c9889044d8b1027dc90a8f9d23))
0.26 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk79c29253be1049f0aad8bdee0d87dec8 AND `product`.`version_id` = :pk4cb609a0b435456496aecf3c0d720db8))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk035efa6ebb814efeba44066e5e71b81e AND `product`.`version_id` = :pkeb921882293c47bf838de329e4768618))
15.14 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkaa0e7101bbd440e4aaff68d05a6a2c22 AND `product`.`version_id` = :pkab1096e9edc74fa5aa545617fd70a0cb))
3.51 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkff8c788f473e473c99639d49a09621e0 AND `product`.`version_id` = :pka2ab8fc8643d4241b77146a10b3d348c))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke3eff14a44bf41258055b0c83b3ee828 AND `product`.`version_id` = :pkacbbaae56730455daa5a7cf65bfd212c))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbccff3c590ac4340832a52d3e6fe06c1 AND `product`.`version_id` = :pkbc929ecfb0eb4afd9ddaaa5cde604a16))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk68aee3e97def443ab7bbc38ef0a383a3 AND `product`.`version_id` = :pkc22ab794b6794b5c85d56768bd33b3de))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc15b5c23150448e7b1b40073a65717f1 AND `product`.`version_id` = :pkc16346a8b5a645f38511089cb8ca1a85))
9.89 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk673b1d2f9431471ba9559605541eb4a9 AND `product`.`version_id` = :pka0df9b3c16ec40308f7396a2ae7a629d))
7.75 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk03c6f562de9b491780a97e111f969f4c AND `product`.`version_id` = :pkecbf60a502ba418db965099ebf9d40cf))
12.97 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkede07d1514ff47478d3975a20d4945bc AND `product`.`version_id` = :pk133c55da23eb48689def20cc8050f7cb))
4.64 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk735cd4ee998e4b889dbcb7bcf2f7a3d0 AND `product`.`version_id` = :pk1cf41b81485747d385c42a57f902e6ba))
0.50 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk20e5c1e30448490ab831478e39cd796e AND `product`.`version_id` = :pk193a155ce9784d4d9003eae4ed37f6d6))
0.44 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf9e2f7bac0b84a7cb7f54cab781e2b12 AND `product`.`version_id` = :pkb3d8a98b580d47729a75c5b3871a8ce7))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1935ddec1a084d82b31fe093e11214fd AND `product`.`version_id` = :pk931c1983c4df449ba2c24d4d01ead072))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4de335348a9245a392a292141048b8ce AND `product`.`version_id` = :pk3de98c2370a94558aee0e432e960ef80))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4fb88f1e66bd438e90debaf241e32269 AND `product`.`version_id` = :pk975493bd54ca4a63bda84f71d5123ef6))
185.79 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.50 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.29 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.92 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_dbc858ea65fc4e7f8472d5685e9c6540)
1.69 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.34 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_d686f72c061d430da32767dc770646d9))
0.78 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.30 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
15.29 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
9.88 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.38 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.44 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk79e9f19978f24488ba31bd606b3d4131 AND `product`.`version_id` = :pke54efdeff1d44fe990f512d0187af8f9))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4bee7dc031e14661ba143b41cef2e42c AND `product`.`version_id` = :pkc53c8a7ff2ec4b0baa12d4d467e84b78))
9.00 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk719a4552f0b64eb8b1ff59bb3312616b AND `product`.`version_id` = :pk308bf64ca8a34029b42ed6e29aeb256a))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk01a88b2b4e854b20a285b4ca21a45bd8 AND `product`.`version_id` = :pk593afede13bb4336b8c8090a9c5b8717))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5449ad01eb0c47c6b87c3f67f8e20381 AND `product`.`version_id` = :pk0cf2617fafe34b2db5588dac7f2f8c3d))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6a2929bc605243f684c914836f3f2045 AND `product`.`version_id` = :pkd8c19803380347f2aec3a210cfb0e9a4))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbb5e48f39c724d1f8124bce0198fc0ad AND `product`.`version_id` = :pk89ca91953336420383113d67fd6ab13b))
1.13 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5155c89d82fc48f38c50050e86593a64 AND `product`.`version_id` = :pk1cc074f0f9a942d0b1ff65fdfeca7fe0))
0.35 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka8b23b702af943fc876dbd0c7d8084ca AND `product`.`version_id` = :pkab70dcd315c44c6e826006a3b4a33a80))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5baa4852e05b414b9204911f8b91e3b2 AND `product`.`version_id` = :pk3df41b3674874740ae1a9ebc97160ffd))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk783c53cd30c0478699c019a226500201 AND `product`.`version_id` = :pka7b560183c004bc3bef2a4d31949e839))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6eefbf477b40491298a5593965ee2bc8 AND `product`.`version_id` = :pk68fc214398454e9b8a300dd1c4eb0aff))
6.74 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke86bf1aeb8b64300a0902bb16a9fa469 AND `product`.`version_id` = :pkf7208dbf22e542428780a6adbafd1783))
7.85 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkae1356ff9e7c4e40bac58104a21ccec5 AND `product`.`version_id` = :pk071aca550b8b4c2caf953aa3620bb67a))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1415db7299e54fd1a1087e9d5f439e19 AND `product`.`version_id` = :pk736da4b5b07f47dcafe3d815261c1963))
0.51 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb54b6360884f48f8a3840092c45c3171 AND `product`.`version_id` = :pk84e1c3de66d04774b6b1e42867732777))
0.86 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9b33a6a7984f4dd39e772191f52c5801 AND `product`.`version_id` = :pk623cfca062634ce0962741aa09896bc0))
0.41 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk2bad205035b34e95b72d3fc1146d1b77 AND `product`.`version_id` = :pkb92264a7fdec46abb5f782c811e77ab7))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk400f0881fe974585b0542031477c5ade AND `product`.`version_id` = :pkf0646dd00aa645afb64503adcce561ec))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkb708ccb6eced46eb81af876a5cf02a7c AND `product`.`version_id` = :pkdd160ee9eb004d77b3ed50e8c9bf635e))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk49a2a5bed02a438499c1f9017f91f4ca AND `product`.`version_id` = :pkc22654c0627b46e7a408d0fb73d33604))
142.02 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.63 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.47 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
1.84 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_066a0ba6edba4bb288a10fe6c01d0ec0)
1.88 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.39 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_cae93c2de1b84f3c9fab7605357f5822))
0.69 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.29 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
6.80 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
17.62 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.26 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk045b5101f3fb48d9a4ec283b8e6d911d AND `product`.`version_id` = :pk01ca925bb90741b2aaeb10e502d6d94f))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke82e5bd7991648239696b2218d9bb7ad AND `product`.`version_id` = :pk5db44d0fa19b44cb9fd66827de25b898))
4.99 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkee78ad5ca1504d3182c3a679311c2e5c AND `product`.`version_id` = :pke5697001d4b146f699e76cf6dbed7faf))
0.32 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0a866b19a168439d88e740ebc306cd90 AND `product`.`version_id` = :pk77d9c83dd53c4874a8f2c8d3d9d10508))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk17d78768fc874535a801a37e183a861e AND `product`.`version_id` = :pk7c000406cf684b7b9fdccf422b0041c4))
0.30 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke700942900ad4cfab4fc23cc9cd87124 AND `product`.`version_id` = :pk2d13ce7ea13c40618ff244ee7e1b2a23))
7.66 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk4b1f8df0dbe24dbdb9b61b88e2d762c9 AND `product`.`version_id` = :pkebe9ec51aa3f4c8fb42112941b516bd4))
12.62 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk3254a78e07454e77a9f4a5cc03127a24 AND `product`.`version_id` = :pkcfe9f51fcbf249f6a93ad3e0bd8f2b11))
0.47 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk53eb235f68da45b4aaf42dd17a9361f7 AND `product`.`version_id` = :pk00c4310c68f549b1b903e3e61f44a7cf))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk35261f4bc49a46f586b3e0ed969a54c2 AND `product`.`version_id` = :pkfcc9f49cf1bb47f79f0e173b59700e3d))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkba0c3b45382b4c3390e95a68a3c4f128 AND `product`.`version_id` = :pka75248abd7794cc8b63d61ec4b775d36))
0.37 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka61dbeb5b834454aa299adaf4e72bc36 AND `product`.`version_id` = :pke94d51e5615b4fbfb9a13bc9c2825710))
5.64 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk86e753ea6fe142319b496ceeb5554619 AND `product`.`version_id` = :pk23e77bdf47ca4573b1e3ddb738f9ef1e))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1e0f0210781f4acab07bce780612cc84 AND `product`.`version_id` = :pk3b2284a545bf476ebaa58f3a2008a187))
0.42 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk00b71e665b3c4cc3b388eb6f749581f1 AND `product`.`version_id` = :pka9f809483fda4a92adffd690fa719168))
10.46 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5342cfa351a84655a96b034a4efbf0c5 AND `product`.`version_id` = :pkbe32bfde162b44ac997b13002ac3b8e4))
2.69 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkcfd6f74533734068b5cf634b447ed7e4 AND `product`.`version_id` = :pk084d40178e3444f8ae7afef4c9ebdb47))
0.54 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8547e90589db481daea71435cad4a14c AND `product`.`version_id` = :pkee30502b84ff4caf8f0fa2e7d669deaa))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbfa8e4c3f37a4e0ba414d6a4040bd06d AND `product`.`version_id` = :pkd300764485d044218bca61c12743068d))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8565cbe9ac0243ee873345130c05cc81 AND `product`.`version_id` = :pk505f7c358e874d2c818b0dd7a67f3d1c))
6.68 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkbae8414efd314526bb0657a233384041 AND `product`.`version_id` = :pk54d97083d64b42b6be4e2c70e5fa04fe))
186.37 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.55 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.31 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
10.83 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_fa2cb15afd8840629ff23313338b7604)
6.59 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.34 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_2219868028244d0d800631f65565f592))
0.56 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.36 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
9.64 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
13.79 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.26 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.37 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk55c6b9c0da8443839801755f5bbd9b5d AND `product`.`version_id` = :pk3d2eff5609804bf6a26814e13c43e74d))
1.22 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk55a0a164bf284cf7851facc5b8cec215 AND `product`.`version_id` = :pkc8300d003a084b1f884dbce8aae02a95))
16.32 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke450c1db95664558bac54f72635e9f5b AND `product`.`version_id` = :pk43354808551c48479c6cf3314e2a9cf3))
0.44 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka24b747f9dc54d70a478edd9d56847b8 AND `product`.`version_id` = :pk8ba4251dda1448a18fbe290fc3ebd80d))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk83262601c4be485dac7ac2c1fb478b79 AND `product`.`version_id` = :pk9c8bec4b053b456eb8d020c02dbdc88f))
0.27 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk301297df214b4c0ca084ae3f3121eccc AND `product`.`version_id` = :pk0d97aa8b94274de48b152f9149472644))
15.52 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0990b0196daf45c29cb907c75b62ff3d AND `product`.`version_id` = :pkc2548018ec414741a875248376225c4a))
16.61 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk97c8c978f65c49c888fc3c916b3251f5 AND `product`.`version_id` = :pkd51292f1376247c38f00e562fdfbf561))
0.47 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk61b2da73bfa74993b18d080252c77f0f AND `product`.`version_id` = :pkde4161f0d24b4e1898cf927e5b55bc92))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk36bbf656044c4d17bb179dcc1aacae75 AND `product`.`version_id` = :pk608ce1f57cc04130808c443ce227c27e))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk76b42ac743af4d64b43b508cdf558065 AND `product`.`version_id` = :pkbde695572cec41f8b3d3c0ce13192ad3))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk5d1f7a6e1a9f4e1e9cdd3059a728d091 AND `product`.`version_id` = :pk132fb32c91864f77b1903f21b74d5a71))
20.64 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk55c0cde92c7c4be68946eb8f202123ce AND `product`.`version_id` = :pk2175071935c84e65b61cd4a071733e64))
22.09 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9efa82de4b0e4f96ac3c96eb6f67bf70 AND `product`.`version_id` = :pk14402d77aeaf4d17acb833b62e7b9e47))
15.53 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf6a008d7a8be40cfa671a1fc0fbf28d1 AND `product`.`version_id` = :pk111eecd477b54ca88467f16388547a6a))
18.95 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0ea9506b29a54d9f95e31682b4753aa7 AND `product`.`version_id` = :pkf013945fc95e4571b4b3e0925a1ed70a))
0.64 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk216f3c8bc406456e86f6a01b9a0b7807 AND `product`.`version_id` = :pk89c93e56603348ce840a6e617bfd408f))
0.47 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkc2b96a3ce08b427d907f0a90da0c3bd3 AND `product`.`version_id` = :pk0cb41601741047759780831f3dda4846))
0.41 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk6fe627aadb2840f3af746231b0b3f8e3 AND `product`.`version_id` = :pk9f913c593cd9457fbbd8f47a7dd92d65))
0.36 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9eabf7dc5d4e487f9d16bbc8e5da586d AND `product`.`version_id` = :pkaf9ecd4d88a64825b2ec606fa72f92d3))
0.29 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1a3eb0943dee4ced94259be84b252401 AND `product`.`version_id` = :pk960891d6846446259dbc3b7146aef948))
359.26 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.52 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.29 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
2.55 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_6a7b9681b8c74ebcba0cf0df42fe6be8)
1.53 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.34 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_3f41418451ee479ca40f4b478047c35d))
0.97 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.40 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
2.02 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(parent_id)) as id FROM `product` WHERE id IN (:ids)
16.57 ms
(0.00%)
SELECT 1 as `exists`, `product_id`, `language_id`, `product_version_id` FROM `product_translation` WHERE (`product_id`,`language_id`,`product_version_id`) IN ((?,?,?))
0.32 ms
(0.00%)
SELECT 1 as `exists`, parent_id, `id`, `version_id` FROM `product` WHERE (`id` IN (?)) AND (version_id = ?)
0.41 ms
(0.00%)
SELECT LOWER(HEX(`product.children`.`id`)) as id FROM `product` `product` LEFT JOIN `product` `product.children` ON `product`.`id` = `product.children`.`parent_id` AND `product`.version_id = `product.children`.parent_version_id WHERE (`product.children`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pka92d223de63045b28c8be81501e5c74e AND `product`.`version_id` = :pk55123b50b1f94fb5932bee31b59c89d1))
0.31 ms
(0.00%)
SELECT LOWER(HEX(`product.prices`.`id`)) as id FROM `product` `product` LEFT JOIN `product_price` `product.prices` ON `product`.`id` = `product.prices`.`product_id` AND `product`.version_id = `product.prices`.product_version_id WHERE (`product.prices`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfd552113b7d24e66a50f6aeee1b199a4 AND `product`.`version_id` = :pk3690856d2ea04d159e100c728248cc57))
12.11 ms
(0.00%)
SELECT LOWER(HEX(`product.media`.`id`)) as id FROM `product` `product` LEFT JOIN `product_media` `product.media` ON `product`.`id` = `product.media`.`product_id` AND `product`.version_id = `product.media`.product_version_id WHERE (`product.media`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke7bf92876e924ebf8cebf7892ca3b1fc AND `product`.`version_id` = :pkcf25f8905f014deb8135acaa43724b23))
0.45 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling` `product.crossSellings` ON `product`.`id` = `product.crossSellings`.`product_id` AND `product`.version_id = `product.crossSellings`.product_version_id WHERE (`product.crossSellings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0dbb57cc4e2541caab88d191eee09a46 AND `product`.`version_id` = :pkce9222417b73417181b1618403149322))
0.28 ms
(0.00%)
SELECT LOWER(HEX(`product.crossSellingAssignedProducts`.`id`)) as id FROM `product` `product` LEFT JOIN `product_cross_selling_assigned_products` `product.crossSellingAssignedProducts` ON `product`.`id` = `product.crossSellingAssignedProducts`.`product_id` AND `product`.version_id = `product.crossSellingAssignedProducts`.product_version_id WHERE (`product.crossSellingAssignedProducts`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk422a1b8369934fe1b5b84e7100149c0b AND `product`.`version_id` = :pkf374b6150bde45d591544c82b49d523c))
0.40 ms
(0.00%)
SELECT LOWER(HEX(`product.configuratorSettings`.`id`)) as id FROM `product` `product` LEFT JOIN `product_configurator_setting` `product.configuratorSettings` ON `product`.`id` = `product.configuratorSettings`.`product_id` AND `product`.version_id = `product.configuratorSettings`.product_version_id WHERE (`product.configuratorSettings`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkfc9c79fffa394140b85908d1766d3fd8 AND `product`.`version_id` = :pkfe3f938e86274211b3bfdc7b2fd29688))
9.05 ms
(0.00%)
SELECT LOWER(HEX(`product.visibilities`.`id`)) as id FROM `product` `product` LEFT JOIN `product_visibility` `product.visibilities` ON `product`.`id` = `product.visibilities`.`product_id` AND `product`.version_id = `product.visibilities`.product_version_id WHERE (`product.visibilities`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1409169420134ed183d8b9e0e97cf5ec AND `product`.`version_id` = :pk8b1307497aa845428fb436726b007495))
27.87 ms
(0.00%)
SELECT LOWER(HEX(`product.searchKeywords`.`id`)) as id FROM `product` `product` LEFT JOIN `product_search_keyword` `product.searchKeywords` ON `product`.`id` = `product.searchKeywords`.`product_id` AND `product`.version_id = `product.searchKeywords`.product_version_id WHERE (`product.searchKeywords`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkdf87a392213d44238bc09f9e78147be1 AND `product`.`version_id` = :pk1beedfa78f9f44248963bf0168fbdda2))
0.57 ms
(0.00%)
SELECT LOWER(HEX(`product.productReviews`.`id`)) as id FROM `product` `product` LEFT JOIN `product_review` `product.productReviews` ON `product`.`id` = `product.productReviews`.`product_id` AND `product`.version_id = `product.productReviews`.product_version_id WHERE (`product.productReviews`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1c8cbed7cf8d4430be9d6fee9bd718fd AND `product`.`version_id` = :pk5bc3c68769e84c42b344afc251806799))
0.48 ms
(0.00%)
SELECT LOWER(HEX(`product.mainCategories`.`id`)) as id FROM `product` `product` LEFT JOIN `main_category` `product.mainCategories` ON `product`.`id` = `product.mainCategories`.`product_id` AND `product`.version_id = `product.mainCategories`.product_version_id WHERE (`product.mainCategories`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pke2e5e2eff0f14247acbdfeaa3366be82 AND `product`.`version_id` = :pk666cca151e4a416b8a7094ab2845fb9d))
0.37 ms
(0.00%)
SELECT LOWER(HEX(`product.wishlists`.`id`)) as id FROM `product` `product` LEFT JOIN `customer_wishlist_product` `product.wishlists` ON `product`.`id` = `product.wishlists`.`product_id` AND `product`.version_id = `product.wishlists`.product_version_id WHERE (`product.wishlists`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1bfe8e27bbde4373b832355228cf42b8 AND `product`.`version_id` = :pk32983c6486d6481398982ba05bdd116a))
0.50 ms
(0.00%)
SELECT LOWER(HEX(`product.options.mapping`.`product_id`)) as productId, LOWER(HEX(`product.options.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_option` `product.options.mapping` ON `product`.`id` = `product.options.mapping`.`product_id`  AND `product`.`version_id` = `product.options.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.options` ON `product.options.mapping`.`property_group_option_id` = `product.options`.`id`  WHERE (`product.options.mapping`.`product_id` IS NOT NULL) AND (`product.options.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk1a69ed3817f14262bf87961b5712f82a AND `product`.`version_id` = :pkdbf0ba96e5ee4767bcbb768a2d87be47))
6.03 ms
(0.00%)
SELECT LOWER(HEX(`product.properties.mapping`.`product_id`)) as productId, LOWER(HEX(`product.properties.mapping`.`property_group_option_id`)) as optionId FROM `product` `product` LEFT JOIN `product_property` `product.properties.mapping` ON `product`.`id` = `product.properties.mapping`.`product_id`  AND `product`.`version_id` = `product.properties.mapping`.`product_version_id` LEFT JOIN `property_group_option` `product.properties` ON `product.properties.mapping`.`property_group_option_id` = `product.properties`.`id`  WHERE (`product.properties.mapping`.`product_id` IS NOT NULL) AND (`product.properties.mapping`.`property_group_option_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkf3d25951a70c4922aff312069ec5e37d AND `product`.`version_id` = :pke0d650b6d4e24e4b88900cf66ee77622))
9.56 ms
(0.00%)
SELECT LOWER(HEX(`product.categories.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categories.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category` `product.categories.mapping` ON `product`.`id` = `product.categories.mapping`.`product_id`  AND `product`.`version_id` = `product.categories.mapping`.`product_version_id` LEFT JOIN `category` `product.categories` ON `product.categories.mapping`.`category_id` = `product.categories`.`id`  AND `product.categories`.`version_id` = `product.categories.mapping`.`category_version_id` WHERE (`product.categories.mapping`.`product_id` IS NOT NULL) AND (`product.categories.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkdf42fa4a587b42dd884cbc24877c1b96 AND `product`.`version_id` = :pk166fe9fed06b404e910b7ca71998afd6))
9.69 ms
(0.00%)
SELECT LOWER(HEX(`product.streams.mapping`.`product_id`)) as productId, LOWER(HEX(`product.streams.mapping`.`product_stream_id`)) as productStreamId FROM `product` `product` LEFT JOIN `product_stream_mapping` `product.streams.mapping` ON `product`.`id` = `product.streams.mapping`.`product_id`  AND `product`.`version_id` = `product.streams.mapping`.`product_version_id` LEFT JOIN `product_stream` `product.streams` ON `product.streams.mapping`.`product_stream_id` = `product.streams`.`id`  WHERE (`product.streams.mapping`.`product_id` IS NOT NULL) AND (`product.streams.mapping`.`product_stream_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk37fecc3d26474b8aacbd096dab6a4e73 AND `product`.`version_id` = :pke0058961c6374621bd1e39a63808347f))
0.56 ms
(0.00%)
SELECT LOWER(HEX(`product.categoriesRo.mapping`.`product_id`)) as productId, LOWER(HEX(`product.categoriesRo.mapping`.`category_id`)) as categoryId FROM `product` `product` LEFT JOIN `product_category_tree` `product.categoriesRo.mapping` ON `product`.`id` = `product.categoriesRo.mapping`.`product_id`  AND `product`.`version_id` = `product.categoriesRo.mapping`.`product_version_id` LEFT JOIN `category` `product.categoriesRo` ON `product.categoriesRo.mapping`.`category_id` = `product.categoriesRo`.`id`  AND `product.categoriesRo`.`version_id` = `product.categoriesRo.mapping`.`category_version_id` WHERE (`product.categoriesRo.mapping`.`product_id` IS NOT NULL) AND (`product.categoriesRo.mapping`.`category_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkd702375776d44dc8b48d2a7d9f94952a AND `product`.`version_id` = :pk62fe92b2e747481d96785455f430336a))
0.34 ms
(0.00%)
SELECT LOWER(HEX(`product.tags.mapping`.`product_id`)) as productId, LOWER(HEX(`product.tags.mapping`.`tag_id`)) as tagId FROM `product` `product` LEFT JOIN `product_tag` `product.tags.mapping` ON `product`.`id` = `product.tags.mapping`.`product_id`  AND `product`.`version_id` = `product.tags.mapping`.`product_version_id` LEFT JOIN `tag` `product.tags` ON `product.tags.mapping`.`tag_id` = `product.tags`.`id`  WHERE (`product.tags.mapping`.`product_id` IS NOT NULL) AND (`product.tags.mapping`.`tag_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk8fee6aedcd1440d6875e682b435acaf6 AND `product`.`version_id` = :pkcf57458fb7cf42b8b902fb1eed8957f2))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.customFieldSets.mapping`.`product_id`)) as productId, LOWER(HEX(`product.customFieldSets.mapping`.`custom_field_set_id`)) as customFieldSetId FROM `product` `product` LEFT JOIN `product_custom_field_set` `product.customFieldSets.mapping` ON `product`.`id` = `product.customFieldSets.mapping`.`product_id`  AND `product`.`version_id` = `product.customFieldSets.mapping`.`product_version_id` LEFT JOIN `custom_field_set` `product.customFieldSets` ON `product.customFieldSets.mapping`.`custom_field_set_id` = `product.customFieldSets`.`id`  WHERE (`product.customFieldSets.mapping`.`product_id` IS NOT NULL) AND (`product.customFieldSets.mapping`.`custom_field_set_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk9d1bdd76812e4a998091b3c6b98a48b2 AND `product`.`version_id` = :pk3d6ac56757764730abb51c7ec4539af8))
0.33 ms
(0.00%)
SELECT LOWER(HEX(`product.translations`.`product_id`)) as productId, LOWER(HEX(`product.translations`.`language_id`)) as languageId FROM `product` `product` LEFT JOIN `product_translation` `product.translations` ON `product`.`id` = `product.translations`.`product_id` AND `product`.version_id = `product.translations`.product_version_id WHERE (`product.translations`.`product_id` IS NOT NULL) AND (`product.translations`.`language_id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pkcaf3c126b47e453795e8ba029cd15770 AND `product`.`version_id` = :pk284e0f9335314ad7b9ce8cf1c6e661d8))
4.87 ms
(0.00%)
SELECT LOWER(HEX(`product.orderLineItems`.`id`)) as id FROM `product` `product` LEFT JOIN `order_line_item` `product.orderLineItems` ON `product`.`id` = `product.orderLineItems`.`product_id` WHERE (`product.orderLineItems`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk0b24d0dc33054fbdab2a6d5c1438c875 AND `product`.`version_id` = :pk48e36329926b471a8733a465efa78eb0))
0.38 ms
(0.00%)
SELECT LOWER(HEX(`product.paypalPosLog`.`id`)) as id FROM `product` `product` LEFT JOIN `swag_paypal_pos_sales_channel_run_log` `product.paypalPosLog` ON `product`.`id` = `product.paypalPosLog`.`product_id` WHERE (`product.paypalPosLog`.`id` IS NOT NULL) AND (`product`.`version_id` = :version) AND ((`product`.`id` = :pk02f0c22f04144f12a0b7a7fc961fd871 AND `product`.`version_id` = :pk37f785e036f6486ebd53288e1171fbc0))
172.13 ms
(0.00%)
DELETE FROM `product` WHERE id = ? AND version_id = ?
0.61 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(product_stream_id))
             FROM product_stream_mapping
             WHERE product_stream_mapping.product_id IN (:ids)
             AND product_stream_mapping.product_version_id = :version
0.44 ms
(0.00%)
SELECT DISTINCT LOWER(HEX(category_id)) as category_id
             FROM product_category_tree
             WHERE product_id IN (:ids)
             AND product_version_id = :version
             AND category_version_id = :version
2.25 ms
(0.00%)
# app-scripts::refresh::read
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE (`app`.`active` = :param_ddab003c8807401586bdf13b4656516c)
2.12 ms
(0.00%)
SELECT `app`.`id` as `app.id`, `app`.`name` as `app.name`, `app`.`path` as `app.path`, `app`.`author` as `app.author`, `app`.`copyright` as `app.copyright`, `app`.`license` as `app.license`, `app`.`active` as `app.active`, `app`.`configurable` as `app.configurable`, `app`.`privacy` as `app.privacy`, `app`.`version` as `app.version`, `app`.`icon` as `app.iconRaw`, `app`.`app_secret` as `app.appSecret`, `app`.`modules` as `app.modules`, `app`.`main_module` as `app.mainModule`, `app`.`cookies` as `app.cookies`, `app`.`allow_disable` as `app.allowDisable`, `app`.`base_app_url` as `app.baseAppUrl`, `app`.`allowed_hosts` as `app.allowedHosts`, `app`.`template_load_priority` as `app.templateLoadPriority`, `app`.`integration_id` as `app.integrationId`, `app.integration`.`id` as `app.integration.id`, `app.integration`.`label` as `app.integration.label`, `app.integration`.`access_key` as `app.integration.accessKey`, `app.integration`.`secret_access_key` as `app.integration.secretAccessKey`, `app.integration`.`write_access` as `app.integration.writeAccess`, `app.integration`.`last_usage_at` as `app.integration.lastUsageAt`, `app.integration`.`admin` as `app.integration.admin`, `app.integration`.`custom_fields` as `app.integration.customFields`, `app.integration`.`deleted_at` as `app.integration.deletedAt`, `app.integration`.`created_at` as `app.integration.createdAt`, `app.integration`.`updated_at` as `app.integration.updatedAt`, `app`.`acl_role_id` as `app.aclRoleId`, `app.aclRole`.`id` as `app.aclRole.id`, `app.aclRole`.`name` as `app.aclRole.name`, `app.aclRole`.`description` as `app.aclRole.description`, `app.aclRole`.`privileges` as `app.aclRole.privileges`, `app.aclRole`.`deleted_at` as `app.aclRole.deletedAt`, `app.aclRole`.`created_at` as `app.aclRole.createdAt`, `app.aclRole`.`updated_at` as `app.aclRole.updatedAt`, `app`.`created_at` as `app.createdAt`, `app`.`updated_at` as `app.updatedAt`, `app.translation.label`, COALESCE(`app.translation.label`,`app.translation.label`) as `app.label`, `app.translation.description`, COALESCE(`app.translation.description`,`app.translation.description`) as `app.description`, `app.translation.privacyPolicyExtensions`, COALESCE(`app.translation.privacyPolicyExtensions`,`app.translation.privacyPolicyExtensions`) as `app.privacyPolicyExtensions`, `app.translation.customFields`, COALESCE(`app.translation.customFields`,`app.translation.customFields`) as `app.customFields`, `app.translation.createdAt`, `app.translation.updatedAt`, `app.translation.appId`, `app.translation.languageId` FROM `app` LEFT JOIN (SELECT `app.translation`.app_id, `app.translation`.label as `app.translation.label`, `app.translation`.description as `app.translation.description`, `app.translation`.privacy_policy_extensions as `app.translation.privacyPolicyExtensions`, `app.translation`.custom_fields as `app.translation.customFields`, `app.translation`.created_at as `app.translation.createdAt`, `app.translation`.updated_at as `app.translation.updatedAt`, `app.translation`.app_id as `app.translation.appId`, `app.translation`.language_id as `app.translation.languageId` FROM `app_translation` `app.translation` WHERE `app.translation`.language_id = :languageId) `app.app_translation` ON `app.app_translation`.`app_id` = `app`.`id` LEFT JOIN `integration` `app.integration` ON `app`.`integration_id` = `app.integration`.`id` LEFT JOIN `acl_role` `app.aclRole` ON `app`.`acl_role_id` = `app.aclRole`.`id` WHERE `app`.`id` IN (:ids)
0.39 ms
(0.00%)
SELECT `script`.`id` as `script.id`, `script`.`script` as `script.script`, `script`.`hook` as `script.hook`, `script`.`name` as `script.name`, `script`.`active` as `script.active`, `script`.`app_id` as `script.appId`, `script`.`created_at` as `script.createdAt`, `script`.`updated_at` as `script.updatedAt` FROM `script` WHERE (`script`.`app_id` IN (:param_6e8fa2cd4760492c8e9f1ed96315bbf7))
0.97 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS scriptName,
                   `script`.`script` AS script,
                   `script`.`hook` AS hook,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   `app`.`version` AS appVersion,
                   `script`.`active` AS active
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` != 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
0.40 ms
(0.00%)
SELECT LOWER(HEX(`script`.`app_id`)) as `app_id`,
                   `script`.`name` AS name,
                   `script`.`script` AS script,
                   `app`.`name` AS appName,
                   LOWER(HEX(`app`.`integration_id`)) AS integrationId,
                   IFNULL(`script`.`updated_at`, `script`.`created_at`) AS lastModified
            FROM `script`
            LEFT JOIN `app` ON `script`.`app_id` = `app`.`id`
            WHERE `script`.`hook` = 'include'
            ORDER BY `app`.`created_at`, `app`.`id`, `script`.`name`
7.82 ms
(0.00%)
"COMMIT"

Database Connections

There are no configured database connections.

Entity Managers

There are no configured entity managers.

Second Level Cache

Second Level Cache is not enabled.

Entities Mapping