https://shopware.kneese.biz/checkout/cart

Queries

248 Total Queries
0.0049 s Total Query Time
SQL Params Execution Time
SELECT 
  shop.id, 
  shop.name, 
  shop.base_url, 
  shop.position, 
  IF(main_shop.id IS NULL, 1, 0) is_main, 
  IFNULL(main_shop.host, shop.host) as host, 
  IFNULL(main_shop.hosts, shop.hosts) as hosts, 
  IFNULL(main_shop.secure, shop.secure) as secure, 
  IFNULL(
    main_shop.base_path, shop.base_path
  ) as base_path, 
  IFNULL(
    main_shop.template_id, shop.template_id
  ) as template_id, 
  IFNULL(
    main_shop.customer_scope, shop.customer_scope
  ) as customer_scope 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops main_shop ON shop.main_id = main_shop.id 
WHERE 
  (shop.active = 1) 
  AND (
    (
      shop.host = : host 
      OR (
        shop.host IS NULL 
        AND main_shop.host = : host
      )
    )
  )
array:1 [
  ":host" => "shopware.kneese.biz"
]
0.0001 ms
SELECT 
  s0_.id AS id_0, 
  s0_.main_id AS main_id_1, 
  s0_.category_id AS category_id_2, 
  s0_.name AS name_3, 
  s0_.title AS title_4, 
  s0_.position AS position_5, 
  s0_.host AS host_6, 
  s0_.base_path AS base_path_7, 
  s0_.base_url AS base_url_8, 
  s0_.hosts AS hosts_9, 
  s0_.secure AS secure_10, 
  s0_.template_id AS template_id_11, 
  s0_.`default` AS default_12, 
  s0_.active AS active_13, 
  s0_.customer_scope AS customer_scope_14, 
  s0_.id AS id_15, 
  s0_.main_id AS main_id_16, 
  s0_.category_id AS category_id_17, 
  s0_.name AS name_18, 
  s0_.title AS title_19, 
  s0_.position AS position_20, 
  s0_.host AS host_21, 
  s0_.base_path AS base_path_22, 
  s0_.base_url AS base_url_23, 
  s0_.hosts AS hosts_24, 
  s0_.secure AS secure_25, 
  s0_.template_id AS template_id_26, 
  s0_.`default` AS default_27, 
  s0_.active AS active_28, 
  s0_.customer_scope AS customer_scope_29, 
  s1_.id AS id_30, 
  s1_.locale AS locale_31, 
  s1_.language AS language_32, 
  s1_.territory AS territory_33, 
  s2_.id AS id_34, 
  s2_.currency AS currency_35, 
  s2_.name AS name_36, 
  s2_.standard AS standard_37, 
  s2_.factor AS factor_38, 
  s2_.templatechar AS templatechar_39, 
  s2_.symbol_position AS symbol_position_40, 
  s2_.position AS position_41, 
  s3_.id AS id_42, 
  s3_.template AS template_43, 
  s3_.name AS name_44, 
  s3_.description AS description_45, 
  s3_.author AS author_46, 
  s3_.license AS license_47, 
  s3_.esi AS esi_48, 
  s3_.style_support AS style_support_49, 
  s3_.emotion AS emotion_50, 
  s3_.version AS version_51, 
  s3_.plugin_id AS plugin_id_52, 
  s3_.parent_id AS parent_id_53, 
  s4_.id AS id_54, 
  s4_.template AS template_55, 
  s4_.name AS name_56, 
  s4_.description AS description_57, 
  s4_.author AS author_58, 
  s4_.license AS license_59, 
  s4_.esi AS esi_60, 
  s4_.style_support AS style_support_61, 
  s4_.emotion AS emotion_62, 
  s4_.version AS version_63, 
  s4_.plugin_id AS plugin_id_64, 
  s4_.parent_id AS parent_id_65, 
  s5_.id AS id_66, 
  s5_.currency AS currency_67, 
  s5_.name AS name_68, 
  s5_.standard AS standard_69, 
  s5_.factor AS factor_70, 
  s5_.templatechar AS templatechar_71, 
  s5_.symbol_position AS symbol_position_72, 
  s5_.position AS position_73, 
  s6_.id AS id_74, 
  s6_.groupkey AS groupkey_75, 
  s6_.description AS description_76, 
  s6_.tax AS tax_77, 
  s6_.taxinput AS taxinput_78, 
  s6_.mode AS mode_79, 
  s6_.discount AS discount_80, 
  s6_.minimumorder AS minimumorder_81, 
  s6_.minimumordersurcharge AS minimumordersurcharge_82, 
  s0_.main_id AS main_id_83, 
  s0_.template_id AS template_id_84, 
  s0_.document_template_id AS document_template_id_85, 
  s0_.category_id AS category_id_86, 
  s0_.locale_id AS locale_id_87, 
  s0_.currency_id AS currency_id_88, 
  s0_.customer_group_id AS customer_group_id_89, 
  s0_.fallback_id AS fallback_id_90, 
  s3_.parent_id AS parent_id_91, 
  s3_.plugin_id AS plugin_id_92, 
  s4_.parent_id AS parent_id_93, 
  s4_.plugin_id AS plugin_id_94 
FROM 
  s_core_shops s0_ 
  LEFT JOIN s_core_locales s1_ ON s0_.locale_id = s1_.id 
  LEFT JOIN s_core_currencies s2_ ON s0_.currency_id = s2_.id 
  LEFT JOIN s_core_templates s3_ ON s0_.template_id = s3_.id 
  LEFT JOIN s_core_templates s4_ ON s0_.document_template_id = s4_.id 
  LEFT JOIN s_core_shop_currencies s7_ ON s0_.id = s7_.shop_id 
  LEFT JOIN s_core_currencies s5_ ON s5_.id = s7_.currency_id 
  LEFT JOIN s_core_customergroups s6_ ON s0_.customer_group_id = s6_.id 
WHERE 
  s0_.id = ? 
ORDER BY 
  s5_.position ASC, 
  s5_.id ASC
array:1 [
  0 => "1"
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.shopID AS shopID_2, 
  t0.shopID AS shopID_3 
FROM 
  s_core_shops_attributes t0 
WHERE 
  t0.shopID = ?
array:1 [
  0 => 1
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.customerGroupID AS customerGroupID_2, 
  t0.customerGroupID AS customerGroupID_3 
FROM 
  s_core_customergroups_attributes t0 
WHERE 
  t0.customerGroupID = ?
array:1 [
  0 => 1
]
0.0001 ms
SELECT 
  shop.id, 
  shop.name, 
  shop.base_url, 
  shop.position, 
  IF(main_shop.id IS NULL, 1, 0) is_main, 
  IFNULL(main_shop.host, shop.host) as host, 
  IFNULL(main_shop.hosts, shop.hosts) as hosts, 
  IFNULL(main_shop.secure, shop.secure) as secure, 
  IFNULL(
    main_shop.base_path, shop.base_path
  ) as base_path, 
  IFNULL(
    main_shop.template_id, shop.template_id
  ) as template_id, 
  IFNULL(
    main_shop.customer_scope, shop.customer_scope
  ) as customer_scope 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops main_shop ON shop.main_id = main_shop.id 
WHERE 
  (shop.active = 1) 
  AND (
    (
      shop.host = : host 
      OR (
        shop.host IS NULL 
        AND main_shop.host = : host
      )
    )
  )
array:1 [
  ":host" => "shopware.kneese.biz"
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.name AS name_2, 
  t0.`key` AS key_3, 
  t0.active AS active_4, 
  t0.mapping_id AS mapping_id_5 
FROM 
  s_cms_static_groups t0 
  INNER JOIN s_core_shop_pages ON t0.id = s_core_shop_pages.group_id 
WHERE 
  s_core_shop_pages.shop_id = ? 
ORDER BY 
  t0.id ASC
array:1 [
  0 => 1
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.main_id AS main_id_2, 
  t0.category_id AS category_id_3, 
  t0.name AS name_4, 
  t0.title AS title_5, 
  t0.position AS position_6, 
  t0.host AS host_7, 
  t0.base_path AS base_path_8, 
  t0.base_url AS base_url_9, 
  t0.hosts AS hosts_10, 
  t0.secure AS secure_11, 
  t0.template_id AS template_id_12, 
  t0.`default` AS default_13, 
  t0.active AS active_14, 
  t0.customer_scope AS customer_scope_15, 
  t0.main_id AS main_id_16, 
  t0.template_id AS template_id_17, 
  t0.document_template_id AS document_template_id_18, 
  t0.category_id AS category_id_19, 
  t0.locale_id AS locale_id_20, 
  t0.currency_id AS currency_id_21, 
  t0.customer_group_id AS customer_group_id_22, 
  t0.fallback_id AS fallback_id_23, 
  t24.id AS id_25, 
  t24.shopID AS shopID_26, 
  t24.shopID AS shopID_27 
FROM 
  s_core_shops t0 
  LEFT JOIN s_core_shops_attributes t24 ON t24.shopID = t0.id 
WHERE 
  t0.main_id = ? 
ORDER BY 
  t0.position ASC, 
  t0.id ASC
array:1 [
  0 => 1
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.locale AS locale_2, 
  t0.language AS language_3, 
  t0.territory AS territory_4 
FROM 
  s_core_locales t0 
WHERE 
  t0.locale = ? 
LIMIT 
  1
array:1 [
  0 => "en_GB"
]
0.0001 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.main_id AS main_id_2, 
  t0.category_id AS category_id_3, 
  t0.name AS name_4, 
  t0.title AS title_5, 
  t0.position AS position_6, 
  t0.host AS host_7, 
  t0.base_path AS base_path_8, 
  t0.base_url AS base_url_9, 
  t0.hosts AS hosts_10, 
  t0.secure AS secure_11, 
  t0.template_id AS template_id_12, 
  t0.`default` AS default_13, 
  t0.active AS active_14, 
  t0.customer_scope AS customer_scope_15, 
  t0.main_id AS main_id_16, 
  t0.template_id AS template_id_17, 
  t0.document_template_id AS document_template_id_18, 
  t0.category_id AS category_id_19, 
  t0.locale_id AS locale_id_20, 
  t0.currency_id AS currency_id_21, 
  t0.customer_group_id AS customer_group_id_22, 
  t0.fallback_id AS fallback_id_23, 
  t24.id AS id_25, 
  t24.shopID AS shopID_26, 
  t24.shopID AS shopID_27 
FROM 
  s_core_shops t0 
  LEFT JOIN s_core_shops_attributes t24 ON t24.shopID = t0.id 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 26
]
0.0001 ms
SELECT 
  t0.type AS type_1, 
  t0.name AS name_2, 
  t0.position AS position_3, 
  t0.default_value AS default_value_4, 
  t0.selection AS selection_5, 
  t0.field_label AS field_label_6, 
  t0.support_text AS support_text_7, 
  t0.allow_blank AS allow_blank_8, 
  t0.less_compatible AS less_compatible_9, 
  t0.attributes AS attributes_10, 
  t0.container_id AS container_id_11, 
  t0.id AS id_12, 
  t0.template_id AS template_id_13, 
  t0.template_id AS template_id_14, 
  t0.container_id AS container_id_15 
FROM 
  s_core_templates_config_elements t0 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 26
]
0.0004 ms
SELECT 
  t0.name AS name_1, 
  t0.type AS type_2, 
  t0.template_id AS template_id_3, 
  t0.parent_id AS parent_id_4, 
  t0.title AS title_5, 
  t0.attributes AS attributes_6, 
  t0.id AS id_7, 
  t0.template_id AS template_id_8, 
  t0.parent_id AS parent_id_9 
FROM 
  s_core_templates_config_layout t0 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 26
]
0.0002 ms
SELECT 
  t0.id AS id_1, 
  t0.template_id AS template_id_2, 
  t0.name AS name_3, 
  t0.description AS description_4, 
  t0.element_values AS element_values_5, 
  t0.template_id AS template_id_6 
FROM 
  s_core_templates_config_set t0 
WHERE 
  t0.template_id = ?
array:1 [
  0 => 26
]
0.0001 ms
SELECT 
  subshopID as shopId, 
  path, 
  org_path as orgPath, 
  main 
FROM 
  s_core_rewrite_urls 
WHERE 
  path LIKE : pathInfo 
ORDER BY 
  subshopID = : shopId DESC, 
  main DESC 
LIMIT 
  1
array:2 [
  ":shopId" => 1
  ":pathInfo" => "checkout/cart"
]
0.0003 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0001 ms
SHOW COLUMNS 
FROM 
  s_core_shops_attributes
[]
0.0004 ms
SHOW COLUMNS 
FROM 
  s_core_customergroups_attributes
[]
0.0003 ms
SHOW COLUMNS 
FROM 
  s_categories_attributes
[]
0.0003 ms
SHOW COLUMNS 
FROM 
  s_media_attributes
[]
0.0003 ms
SELECT 
  shop.id as __shop_id, 
  shop.main_id as __shop_main_id, 
  shop.name as __shop_name, 
  shop.title as __shop_title, 
  shop.position as __shop_position, 
  shop.host as __shop_host, 
  shop.base_path as __shop_base_path, 
  shop.base_url as __shop_base_url, 
  shop.hosts as __shop_hosts, 
  shop.secure as __shop_secure, 
  shop.template_id as __shop_template_id, 
  shop.document_template_id as __shop_document_template_id, 
  shop.category_id as __shop_category_id, 
  shop.locale_id as __shop_locale_id, 
  shop.currency_id as __shop_currency_id, 
  shop.customer_group_id as __shop_customer_group_id, 
  shop.fallback_id as __shop_fallback_id, 
  shop.customer_scope as __shop_customer_scope, 
  shop.default as __shop_default, 
  shop.active as __shop_active, 
  shopAttribute.id as __shopAttribute_id, 
  shopAttribute.shopID as __shopAttribute_shopID, 
  currency.id as __currency_id, 
  currency.currency as __currency_currency, 
  currency.name as __currency_name, 
  currency.standard as __currency_standard, 
  currency.factor as __currency_factor, 
  currency.templatechar as __currency_templatechar, 
  currency.symbol_position as __currency_symbol_position, 
  currency.position as __currency_position, 
  template.id as __template_id, 
  template.template as __template_template, 
  template.name as __template_name, 
  template.description as __template_description, 
  template.author as __template_author, 
  template.license as __template_license, 
  template.esi as __template_esi, 
  template.style_support as __template_style_support, 
  template.emotion as __template_emotion, 
  template.version as __template_version, 
  template.plugin_id as __template_plugin_id, 
  template.parent_id as __template_parent_id, 
  locale.id as __locale_id, 
  locale.locale as __locale_locale, 
  locale.language as __locale_language, 
  locale.territory as __locale_territory, 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID, 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops_attributes shopAttribute ON shopAttribute.shopID = shop.id 
  LEFT JOIN s_core_currencies currency ON currency.id = shop.currency_id 
  LEFT JOIN s_core_templates template ON shop.template_id = template.id 
  LEFT JOIN s_core_locales locale ON locale.id = shop.locale_id 
  LEFT JOIN s_core_customergroups customerGroup ON customerGroup.id = shop.customer_group_id 
  LEFT JOIN s_categories category ON category.id = shop.category_id 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
WHERE 
  shop.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0002 ms
SELECT 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID 
FROM 
  s_core_customergroups customerGroup 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
WHERE 
  customerGroup.groupkey IN (: keys)
array:1 [
  ":keys" => array:2 [
    0 => "EK"
    1 => "EK"
  ]
]
0.0001 ms
SELECT 
  currency.id as __currency_id, 
  currency.currency as __currency_currency, 
  currency.name as __currency_name, 
  currency.standard as __currency_standard, 
  currency.factor as __currency_factor, 
  currency.templatechar as __currency_templatechar, 
  currency.symbol_position as __currency_symbol_position, 
  currency.position as __currency_position 
FROM 
  s_core_currencies currency 
WHERE 
  currency.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0001 ms
SELECT 
  countryArea.id as __countryArea_id, 
  countryArea.name as __countryArea_name, 
  countryArea.active as __countryArea_active 
FROM 
  s_core_countries_areas countryArea 
WHERE 
  countryArea.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0002 ms
SHOW COLUMNS 
FROM 
  s_core_countries_attributes
[]
0.0003 ms
SELECT 
  country.id as __country_id, 
  country.countryname as __country_countryname, 
  country.countryiso as __country_countryiso, 
  country.areaID as __country_areaID, 
  country.countryen as __country_countryen, 
  country.position as __country_position, 
  country.notice as __country_notice, 
  country.taxfree as __country_taxfree, 
  country.taxfree_ustid as __country_taxfree_ustid, 
  country.taxfree_ustid_checked as __country_taxfree_ustid_checked, 
  country.active as __country_active, 
  country.iso3 as __country_iso3, 
  country.display_state_in_registration as __country_display_state_in_registration, 
  country.force_state_in_registration as __country_force_state_in_registration, 
  country.allow_shipping as __country_allow_shipping, 
  countryAttribute.id as __countryAttribute_id, 
  countryAttribute.countryID as __countryAttribute_countryID 
FROM 
  s_core_countries country 
  LEFT JOIN s_core_countries_attributes countryAttribute ON countryAttribute.countryID = country.id 
WHERE 
  country.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 2
  ]
]
0.0003 ms
SELECT 
  tax.id as __tax_id, 
  tax.tax as __tax_tax, 
  tax.description as __tax_description 
FROM 
  s_core_tax tax
[]
0.0001 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => 1
  ":country" => 2
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "1"
]
0.0003 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => 1
  ":country" => 2
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "4"
]
0.0002 ms
SELECT 
  priceGroupDiscount.groupID, 
  priceGroupDiscount.id as __priceGroupDiscount_id, 
  priceGroupDiscount.groupID as __priceGroupDiscount_groupID, 
  priceGroupDiscount.discount as __priceGroupDiscount_discount, 
  priceGroupDiscount.discountstart as __priceGroupDiscount_discountstart, 
  priceGroup.id as __priceGroup_id, 
  priceGroup.description as __priceGroup_description 
FROM 
  s_core_pricegroups_discounts priceGroupDiscount 
  INNER JOIN s_core_pricegroups priceGroup ON priceGroup.id = priceGroupDiscount.groupID 
WHERE 
  priceGroupDiscount.customergroupID = : customerGroup 
GROUP BY 
  priceGroupDiscount.id 
ORDER BY 
  priceGroupDiscount.groupID ASC, 
  priceGroupDiscount.discountstart ASC
array:1 [
  ":customerGroup" => 1
]
0.0001 ms
SELECT 
  ce.name, 
  COALESCE(
    currentShop.value, parentShop.value, 
    fallbackShop.value, ce.value
  ) as value 
FROM 
  s_core_plugins p 
  INNER JOIN s_core_config_forms cf ON cf.plugin_id = p.id 
  INNER JOIN s_core_config_elements ce ON ce.form_id = cf.id 
  LEFT JOIN s_core_config_values currentShop ON currentShop.element_id = ce.id 
  AND currentShop.shop_id = : currentShopId 
  LEFT JOIN s_core_config_values parentShop ON parentShop.element_id = ce.id 
  AND parentShop.shop_id = : parentShopId 
  LEFT JOIN s_core_config_values fallbackShop ON fallbackShop.element_id = ce.id 
  AND fallbackShop.shop_id = : fallbackShopId 
WHERE 
  p.name =: pluginName
array:4 [
  "fallbackShopId" => 1
  "parentShopId" => 1
  "currentShopId" => 1
  "pluginName" => "InputFilter"
]
0.0000 ms
SELECT 
  ce.name, 
  COALESCE(
    currentShop.value, parentShop.value, 
    fallbackShop.value, ce.value
  ) as value 
FROM 
  s_core_plugins p 
  INNER JOIN s_core_config_forms cf ON cf.plugin_id = p.id 
  INNER JOIN s_core_config_elements ce ON ce.form_id = cf.id 
  LEFT JOIN s_core_config_values currentShop ON currentShop.element_id = ce.id 
  AND currentShop.shop_id = : currentShopId 
  LEFT JOIN s_core_config_values parentShop ON parentShop.element_id = ce.id 
  AND parentShop.shop_id = : parentShopId 
  LEFT JOIN s_core_config_values fallbackShop ON fallbackShop.element_id = ce.id 
  AND fallbackShop.shop_id = : fallbackShopId 
WHERE 
  p.name =: pluginName
array:4 [
  "fallbackShopId" => 1
  "parentShopId" => 1
  "currentShopId" => 1
  "pluginName" => "PasswordEncoder"
]
0.0001 ms
SHOW COLUMNS 
FROM 
  s_core_paymentmeans_attributes
[]
0.0004 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:2 [
    0 => "7"
    1 => "5"
  ]
]
0.0001 ms
SELECT 
  `id` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0001 ms
SELECT 
  `id` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnifiedInstallments"
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0001 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0001 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:1 [
    0 => "5"
  ]
]
0.0001 ms
SELECT 
  id, 
  calculation, 
  `date` 
FROM 
  `s_premium_holidays` 
WHERE 
  `date` < CURDATE()
[]
0.0002 ms
SELECT 
  id, 
  calculation_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (active = 1) 
  AND (calculation = 3)
[]
0.0000 ms
SELECT 
  MIN(d.instock >= b.quantity) as instock, 
  MIN(
    d.instock >=(b.quantity + d.stockmin)
  ) as stockmin, 
  MIN(a.laststock) as laststock, 
  SUM(d.weight * b.quantity) as weight, 
  SUM(
    IF(a.id, b.quantity, 0)
  ) as count_article, 
  MAX(b.shippingfree) as shippingfree, 
  SUM(
    IF(
      b.modus = 0, 
      b.quantity * CAST(
        b.price as DECIMAL(10, 2)
      )/ b.currencyFactor, 
      0
    )
  ) as amount, 
  SUM(
    IF(
      b.modus = 0, 
      b.quantity * ROUND(
        CAST(
          b.price as DECIMAL(10, 2)
        )/(100 + t.tax)* 100, 
        2
      )/ b.currencyFactor, 
      0
    )
  ) as amount_net, 
  SUM(
    CAST(
      b.price as DECIMAL(10, 2)
    )* b.quantity
  ) as amount_display, 
  MAX(d.length) as `length`, 
  MAX(d.height) as height, 
  MAX(d.width) as width, 
  u.id as userID, 
  MAX(a.topseller) as has_topseller, 
  MAX(at.attr3) as has_comment, 
  MAX(b.esdarticle) as has_esd 
FROM 
  s_order_basket b 
  LEFT JOIN s_articles a ON b.articleID = a.id 
  AND b.modus = 0 
  AND b.esdarticle = 0 
  LEFT JOIN s_user u ON u.id = : userId 
  AND u.active = 1 
  LEFT JOIN s_articles_details d ON (d.ordernumber = b.ordernumber) 
  AND d.articleID = a.id 
  LEFT JOIN s_core_tax t ON t.id = a.taxID 
  LEFT JOIN s_articles_attributes at ON at.articledetailsID = d.id 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  b.sessionID = : sessionId 
GROUP BY 
  b.sessionID
array:4 [
  "userId" => null
  "sessionId" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0001 ms
SELECT 
  a.taxID 
FROM 
  s_order_basket b 
  JOIN s_articles a ON a.id = b.articleID 
WHERE 
  b.sessionID = ? 
  AND b.modus = 0 
ORDER BY 
  b.tax_rate DESC 
LIMIT 
  1;
array:1 [
  0 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:2 [
    0 => "7"
    1 => "5"
  ]
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0001 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  id, 
  bind_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (
    active = 1 
    AND type IN (0)
  ) 
  AND (
    bind_sql IS NOT NULL 
    AND bind_sql != ""
  )
[]
0.0000 ms
SELECT 
  d.id as `key`, 
  d.id, 
  d.name, 
  d.description, 
  d.calculation, 
  d.status_link, 
  b.* 
FROM 
  s_premium_dispatch d 
  INNER JOIN (
    SELECT 
      '0' as `instock`, 
      '' as `stockmin`, 
      '0' as `laststock`, 
      '' as `weight`, 
      '1' as `count_article`, 
      '0' as `shippingfree`, 
      '71.4' as `amount`, 
      '60' as `amount_net`, 
      '71.40' as `amount_display`, 
      '' as `length`, 
      '' as `height`, 
      '' as `width`, 
      '' as `userID`, 
      '0' as `has_topseller`, 
      '' as `has_comment`, 
      '0' as `has_esd`, 
      '19' as `max_tax`, 
      '0' as `basketStateId`, 
      '2' as `countryID`, 
      '5' as `paymentID`, 
      '1' as `customergroupID`, 
      '1' as `multishopID`, 
      '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717' as `sessionID`
  ) b ON 1 = 1 
  INNER JOIN s_premium_dispatch_countries dc ON d.id = dc.dispatchID 
  AND dc.countryID = b.countryID 
  INNER JOIN s_premium_dispatch_paymentmeans dp ON d.id = dp.dispatchID 
  AND dp.paymentID = b.paymentID 
  LEFT JOIN s_premium_holidays h ON h.date = CURDATE() 
  LEFT JOIN s_premium_dispatch_holidays dh ON d.id = dh.dispatchID 
  AND h.id = dh.holidayID 
  LEFT JOIN (
    SELECT 
      dc.dispatchID 
    FROM 
      s_order_basket b 
      INNER JOIN s_articles_categories_ro ac ON ac.articleID = b.articleID 
      INNER JOIN s_premium_dispatch_categories dc ON dc.categoryID = ac.categoryID 
    WHERE 
      (b.modus = 0) 
      AND (b.sessionID = : sessionId) 
    GROUP BY 
      dc.dispatchID
  ) dk ON dk.dispatchID = d.id 
  LEFT JOIN s_user u ON u.id = b.userID 
  AND u.active = 1 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  (d.active = 1) 
  AND (
    (
      (
        bind_time_from IS NULL 
        AND bind_time_to IS NULL
      ) 
      OR (
        IFNULL(bind_time_from, 0) <= IFNULL(bind_time_to, 86400) 
        AND TIME_TO_SEC(
          DATE_FORMAT(NOW(), "%H:%i:00")
        ) BETWEEN IFNULL(bind_time_from, 0) 
        AND IFNULL(bind_time_to, 86400)
      ) 
      OR (
        bind_time_from > bind_time_to 
        AND TIME_TO_SEC(
          DATE_FORMAT(NOW(), "%H:%i:00")
        ) NOT BETWEEN bind_time_to 
        AND bind_time_from
      )
    )
  ) 
  AND (
    (
      (
        bind_weekday_from IS NULL 
        AND bind_weekday_to IS NULL
      ) 
      OR (
        IFNULL(bind_weekday_from, 1) <= IFNULL(bind_weekday_to, 7) 
        AND WEEKDAY(NOW())+ 1 BETWEEN IFNULL(bind_weekday_from, 1) 
        AND IFNULL(bind_weekday_to, 7)
      ) 
      OR (
        bind_weekday_from > bind_weekday_to 
        AND WEEKDAY(NOW())+ 1 NOT BETWEEN bind_weekday_to 
        AND bind_weekday_from
      )
    )
  ) 
  AND (
    (
      bind_weight_from IS NULL 
      OR bind_weight_from <= b.weight
    )
  ) 
  AND (
    (
      bind_weight_to IS NULL 
      OR bind_weight_to >= b.weight
    )
  ) 
  AND (
    (
      bind_price_from IS NULL 
      OR bind_price_from <= b.amount
    )
  ) 
  AND (
    (
      bind_price_to IS NULL 
      OR bind_price_to >= b.amount
    )
  ) 
  AND (
    (
      bind_instock = 0 
      OR bind_instock IS NULL 
      OR (
        bind_instock = 1 
        AND b.instock
      ) 
      OR (
        bind_instock = 2 
        AND b.stockmin
      )
    )
  ) 
  AND (
    (
      bind_laststock = 0 
      OR (
        bind_laststock = 1 
        AND b.laststock
      )
    )
  ) 
  AND (
    (
      bind_shippingfree != 1 
      OR NOT b.shippingfree
    )
  ) 
  AND (dh.holidayID IS NULL) 
  AND (
    (
      d.multishopID IS NULL 
      OR d.multishopID = b.multishopID
    )
  ) 
  AND (
    (
      d.customergroupID IS NULL 
      OR d.customergroupID = b.customergroupID
    )
  ) 
  AND (dk.dispatchID IS NULL) 
  AND (
    d.type IN (0)
  ) 
GROUP BY 
  d.id 
ORDER BY 
  d.position, 
  d.name ASC
array:3 [
  "sessionId" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0011 ms
SELECT 
  objectdata, 
  objectlanguage, 
  objecttype, 
  objectkey 
FROM 
  s_core_translations t 
WHERE 
  (
    t.objectlanguage = : objectLanguage
  ) 
  AND (t.objecttype = : objectType) 
  AND (t.objectkey = : objectKey)
array:3 [
  "objectLanguage" => 1
  "objectType" => "config_dispatch"
  "objectKey" => 1
]
0.0001 ms
SELECT 
  alias.* 
FROM 
  s_premium_dispatch_attributes alias 
WHERE 
  alias.dispatchid = : foreignKey 
LIMIT 
  1 OFFSET 0
array:1 [
  ":foreignKey" => "9"
]
0.0000 ms
SELECT 
  objectdata, 
  objectlanguage, 
  objecttype, 
  objectkey 
FROM 
  s_core_translations t 
WHERE 
  (
    t.objectlanguage = : objectLanguage
  ) 
  AND (t.objecttype = : objectType) 
  AND (t.objectkey = : objectKey)
array:3 [
  "objectLanguage" => 1
  "objectType" => "config_countries"
  "objectKey" => 1
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:2 [
    0 => "7"
    1 => "5"
  ]
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0000 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  id, 
  calculation, 
  `date` 
FROM 
  `s_premium_holidays` 
WHERE 
  `date` < CURDATE()
[]
0.0001 ms
SELECT 
  id, 
  calculation_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (active = 1) 
  AND (calculation = 3)
[]
0.0000 ms
SELECT 
  MIN(d.instock >= b.quantity) as instock, 
  MIN(
    d.instock >=(b.quantity + d.stockmin)
  ) as stockmin, 
  MIN(a.laststock) as laststock, 
  SUM(d.weight * b.quantity) as weight, 
  SUM(
    IF(a.id, b.quantity, 0)
  ) as count_article, 
  MAX(b.shippingfree) as shippingfree, 
  SUM(
    IF(
      b.modus = 0, 
      b.quantity * CAST(
        b.price as DECIMAL(10, 2)
      )/ b.currencyFactor, 
      0
    )
  ) as amount, 
  SUM(
    IF(
      b.modus = 0, 
      b.quantity * ROUND(
        CAST(
          b.price as DECIMAL(10, 2)
        )/(100 + t.tax)* 100, 
        2
      )/ b.currencyFactor, 
      0
    )
  ) as amount_net, 
  SUM(
    CAST(
      b.price as DECIMAL(10, 2)
    )* b.quantity
  ) as amount_display, 
  MAX(d.length) as `length`, 
  MAX(d.height) as height, 
  MAX(d.width) as width, 
  u.id as userID, 
  MAX(a.topseller) as has_topseller, 
  MAX(at.attr3) as has_comment, 
  MAX(b.esdarticle) as has_esd 
FROM 
  s_order_basket b 
  LEFT JOIN s_articles a ON b.articleID = a.id 
  AND b.modus = 0 
  AND b.esdarticle = 0 
  LEFT JOIN s_user u ON u.id = : userId 
  AND u.active = 1 
  LEFT JOIN s_articles_details d ON (d.ordernumber = b.ordernumber) 
  AND d.articleID = a.id 
  LEFT JOIN s_core_tax t ON t.id = a.taxID 
  LEFT JOIN s_articles_attributes at ON at.articledetailsID = d.id 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  b.sessionID = : sessionId 
GROUP BY 
  b.sessionID
array:4 [
  "userId" => null
  "sessionId" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0001 ms
SELECT 
  a.taxID 
FROM 
  s_order_basket b 
  JOIN s_articles a ON a.id = b.articleID 
WHERE 
  b.sessionID = ? 
  AND b.modus = 0 
ORDER BY 
  b.tax_rate DESC 
LIMIT 
  1;
array:1 [
  0 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:2 [
    0 => "7"
    1 => "5"
  ]
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0000 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  id, 
  bind_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (
    active = 1 
    AND type IN (0)
  ) 
  AND (
    bind_sql IS NOT NULL 
    AND bind_sql != ""
  )
[]
0.0000 ms
SELECT 
  d.id as `key`, 
  d.id, 
  d.name, 
  d.description, 
  d.calculation, 
  d.status_link, 
  b.* 
FROM 
  s_premium_dispatch d 
  INNER JOIN (
    SELECT 
      '0' as `instock`, 
      '' as `stockmin`, 
      '0' as `laststock`, 
      '' as `weight`, 
      '1' as `count_article`, 
      '0' as `shippingfree`, 
      '71.4' as `amount`, 
      '60' as `amount_net`, 
      '71.40' as `amount_display`, 
      '' as `length`, 
      '' as `height`, 
      '' as `width`, 
      '' as `userID`, 
      '0' as `has_topseller`, 
      '' as `has_comment`, 
      '0' as `has_esd`, 
      '19' as `max_tax`, 
      '0' as `basketStateId`, 
      '2' as `countryID`, 
      '5' as `paymentID`, 
      '1' as `customergroupID`, 
      '1' as `multishopID`, 
      '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717' as `sessionID`
  ) b ON 1 = 1 
  INNER JOIN s_premium_dispatch_countries dc ON d.id = dc.dispatchID 
  AND dc.countryID = b.countryID 
  INNER JOIN s_premium_dispatch_paymentmeans dp ON d.id = dp.dispatchID 
  AND dp.paymentID = b.paymentID 
  LEFT JOIN s_premium_holidays h ON h.date = CURDATE() 
  LEFT JOIN s_premium_dispatch_holidays dh ON d.id = dh.dispatchID 
  AND h.id = dh.holidayID 
  LEFT JOIN (
    SELECT 
      dc.dispatchID 
    FROM 
      s_order_basket b 
      INNER JOIN s_articles_categories_ro ac ON ac.articleID = b.articleID 
      INNER JOIN s_premium_dispatch_categories dc ON dc.categoryID = ac.categoryID 
    WHERE 
      (b.modus = 0) 
      AND (b.sessionID = : sessionId) 
    GROUP BY 
      dc.dispatchID
  ) dk ON dk.dispatchID = d.id 
  LEFT JOIN s_user u ON u.id = b.userID 
  AND u.active = 1 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  (d.active = 1) 
  AND (
    (
      (
        bind_time_from IS NULL 
        AND bind_time_to IS NULL
      ) 
      OR (
        IFNULL(bind_time_from, 0) <= IFNULL(bind_time_to, 86400) 
        AND TIME_TO_SEC(
          DATE_FORMAT(NOW(), "%H:%i:00")
        ) BETWEEN IFNULL(bind_time_from, 0) 
        AND IFNULL(bind_time_to, 86400)
      ) 
      OR (
        bind_time_from > bind_time_to 
        AND TIME_TO_SEC(
          DATE_FORMAT(NOW(), "%H:%i:00")
        ) NOT BETWEEN bind_time_to 
        AND bind_time_from
      )
    )
  ) 
  AND (
    (
      (
        bind_weekday_from IS NULL 
        AND bind_weekday_to IS NULL
      ) 
      OR (
        IFNULL(bind_weekday_from, 1) <= IFNULL(bind_weekday_to, 7) 
        AND WEEKDAY(NOW())+ 1 BETWEEN IFNULL(bind_weekday_from, 1) 
        AND IFNULL(bind_weekday_to, 7)
      ) 
      OR (
        bind_weekday_from > bind_weekday_to 
        AND WEEKDAY(NOW())+ 1 NOT BETWEEN bind_weekday_to 
        AND bind_weekday_from
      )
    )
  ) 
  AND (
    (
      bind_weight_from IS NULL 
      OR bind_weight_from <= b.weight
    )
  ) 
  AND (
    (
      bind_weight_to IS NULL 
      OR bind_weight_to >= b.weight
    )
  ) 
  AND (
    (
      bind_price_from IS NULL 
      OR bind_price_from <= b.amount
    )
  ) 
  AND (
    (
      bind_price_to IS NULL 
      OR bind_price_to >= b.amount
    )
  ) 
  AND (
    (
      bind_instock = 0 
      OR bind_instock IS NULL 
      OR (
        bind_instock = 1 
        AND b.instock
      ) 
      OR (
        bind_instock = 2 
        AND b.stockmin
      )
    )
  ) 
  AND (
    (
      bind_laststock = 0 
      OR (
        bind_laststock = 1 
        AND b.laststock
      )
    )
  ) 
  AND (
    (
      bind_shippingfree != 1 
      OR NOT b.shippingfree
    )
  ) 
  AND (dh.holidayID IS NULL) 
  AND (
    (
      d.multishopID IS NULL 
      OR d.multishopID = b.multishopID
    )
  ) 
  AND (
    (
      d.customergroupID IS NULL 
      OR d.customergroupID = b.customergroupID
    )
  ) 
  AND (dk.dispatchID IS NULL) 
  AND (
    d.type IN (0)
  ) 
GROUP BY 
  d.id 
ORDER BY 
  d.position, 
  d.name ASC
array:3 [
  "sessionId" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0009 ms
SELECT 
  objectdata, 
  objectlanguage, 
  objecttype, 
  objectkey 
FROM 
  s_core_translations t 
WHERE 
  (
    t.objectlanguage = : objectLanguage
  ) 
  AND (t.objecttype = : objectType) 
  AND (t.objectkey = : objectKey)
array:3 [
  "objectLanguage" => 1
  "objectType" => "config_dispatch"
  "objectKey" => 1
]
0.0000 ms
SELECT 
  alias.* 
FROM 
  s_premium_dispatch_attributes alias 
WHERE 
  alias.dispatchid = : foreignKey 
LIMIT 
  1 OFFSET 0
array:1 [
  ":foreignKey" => "9"
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:2 [
    0 => "7"
    1 => "5"
  ]
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0000 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:1 [
    0 => "5"
  ]
]
0.0000 ms
SELECT 
  a.taxID 
FROM 
  s_order_basket b 
  JOIN s_articles a ON a.id = b.articleID 
WHERE 
  b.sessionID = ? 
  AND b.modus = 0 
ORDER BY 
  b.tax_rate DESC 
LIMIT 
  1;
array:1 [
  0 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0000 ms
SELECT 
  id, 
  calculation_sql 
FROM 
  s_premium_dispatch 
WHERE 
  (active = 1) 
  AND (calculation = 3)
[]
0.0000 ms
SELECT 
  MIN(d.instock >= b.quantity) as instock, 
  MIN(
    d.instock >=(b.quantity + d.stockmin)
  ) as stockmin, 
  MIN(a.laststock) as laststock, 
  SUM(d.weight * b.quantity) as weight, 
  SUM(
    IF(a.id, b.quantity, 0)
  ) as count_article, 
  MAX(b.shippingfree) as shippingfree, 
  SUM(
    IF(
      b.modus = 0, 
      b.quantity * CAST(
        b.price as DECIMAL(10, 2)
      )/ b.currencyFactor, 
      0
    )
  ) as amount, 
  SUM(
    IF(
      b.modus = 0, 
      b.quantity * ROUND(
        CAST(
          b.price as DECIMAL(10, 2)
        )/(100 + t.tax)* 100, 
        2
      )/ b.currencyFactor, 
      0
    )
  ) as amount_net, 
  SUM(
    CAST(
      b.price as DECIMAL(10, 2)
    )* b.quantity
  ) as amount_display, 
  MAX(d.length) as `length`, 
  MAX(d.height) as height, 
  MAX(d.width) as width, 
  u.id as userID, 
  MAX(a.topseller) as has_topseller, 
  MAX(at.attr3) as has_comment, 
  MAX(b.esdarticle) as has_esd 
FROM 
  s_order_basket b 
  LEFT JOIN s_articles a ON b.articleID = a.id 
  AND b.modus = 0 
  AND b.esdarticle = 0 
  LEFT JOIN s_user u ON u.id = : userId 
  AND u.active = 1 
  LEFT JOIN s_articles_details d ON (d.ordernumber = b.ordernumber) 
  AND d.articleID = a.id 
  LEFT JOIN s_core_tax t ON t.id = a.taxID 
  LEFT JOIN s_articles_attributes at ON at.articledetailsID = d.id 
  LEFT JOIN s_user_addresses ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  b.sessionID = : sessionId 
GROUP BY 
  b.sessionID
array:4 [
  "userId" => null
  "sessionId" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  "billingAddressId" => 0
  "shippingAddressId" => 0
]
0.0001 ms
SELECT 
  a.taxID 
FROM 
  s_order_basket b 
  JOIN s_articles a ON a.id = b.articleID 
WHERE 
  b.sessionID = ? 
  AND b.modus = 0 
ORDER BY 
  b.tax_rate DESC 
LIMIT 
  1;
array:1 [
  0 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0000 ms
SELECT 
  payment.id as __payment_id, 
  payment.name as __payment_name, 
  payment.description as __payment_description, 
  payment.template as __payment_template, 
  payment.class as __payment_class, 
  payment.table as __payment_table, 
  payment.hide as __payment_hide, 
  payment.additionaldescription as __payment_additionaldescription, 
  payment.debit_percent as __payment_debit_percent, 
  payment.surcharge as __payment_surcharge, 
  payment.surchargestring as __payment_surchargestring, 
  payment.position as __payment_position, 
  payment.active as __payment_active, 
  payment.esdactive as __payment_esdactive, 
  payment.embediframe as __payment_embediframe, 
  payment.hideprospect as __payment_hideprospect, 
  payment.action as __payment_action, 
  payment.pluginID as __payment_pluginID, 
  payment.source as __payment_source, 
  payment.mobile_inactive as __payment_mobile_inactive, 
  paymentAttribute.id as __paymentAttribute_id, 
  paymentAttribute.paymentmeanID as __paymentAttribute_paymentmeanID, 
  paymentAttribute.swag_paypal_unified_display_in_plus_iframe as __paymentAttribute_swag_paypal_unified_display_in_plus_iframe, 
  paymentAttribute.swag_paypal_unified_plus_iframe_payment_logo as __paymentAttribute_swag_paypal_unified_plus_iframe_payment_logo 
FROM 
  s_core_paymentmeans payment 
  LEFT JOIN s_core_paymentmeans_attributes paymentAttribute ON paymentAttribute.paymentmeanID = payment.id 
WHERE 
  payment.id IN (: ids) 
ORDER BY 
  position ASC, 
  name ASC
array:1 [
  ":ids" => array:2 [
    0 => "7"
    1 => "5"
  ]
]
0.0001 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0000 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  objectdata, 
  objectlanguage, 
  objecttype, 
  objectkey 
FROM 
  s_core_translations t 
WHERE 
  (
    t.objectlanguage = : objectLanguage
  ) 
  AND (t.objecttype = : objectType) 
  AND (t.objectkey = : objectKey)
array:3 [
  "objectLanguage" => 1
  "objectType" => "config_dispatch"
  "objectKey" => 1
]
0.0000 ms
SELECT 
  s_order_basket.id, 
  s_articles_details.minpurchase, 
  s_articles_details.purchasesteps, 
  s_articles_details.maxpurchase, 
  s_articles_details.purchaseunit, 
  pricegroupID, 
  pricegroupActive, 
  s_order_basket.ordernumber, 
  s_order_basket.articleID, 
  GROUP_CONCAT(
    avoid.customergroupID SEPARATOR '|'
  ) as blocked_customer_groups 
FROM 
  s_articles, 
  s_order_basket, 
  s_articles_details 
  LEFT JOIN s_articles_avoid_customergroups avoid ON avoid.articleID = s_articles_details.articleID 
WHERE 
  s_order_basket.articleID = s_articles.id 
  AND s_order_basket.ordernumber = s_articles_details.ordernumber 
  AND s_order_basket.id IN (?) 
  AND s_order_basket.sessionID = ? 
GROUP BY 
  s_articles.id, 
  s_order_basket.id
array:2 [
  0 => array:1 [
    0 => 2
  ]
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0001 ms
SELECT 
  order_cart.id, 
  product_price.pricegroup, 
  product_price.price, 
  product.taxID, 
  tax.tax, 
  order_cart.tax_rate, 
  product_detail.id AS articleDetailsID, 
  product_detail.articleID, 
  order_cart.config, 
  order_cart.ordernumber, 
  product_price.from, 
  product_price.to 
FROM 
  s_order_basket order_cart 
  INNER JOIN s_articles_details product_detail ON order_cart.ordernumber = product_detail.ordernumber 
  INNER JOIN s_articles product ON product.id = product_detail.articleID 
  INNER JOIN s_articles_prices product_price ON product_detail.id = product_price.articledetailsID 
  INNER JOIN s_core_tax tax ON product.taxID = tax.id 
WHERE 
  (
    order_cart.id IN (: ids) 
    AND order_cart.sessionID = : sessionId
  ) 
  AND (
    product_price.pricegroup = : pricegroup 
    OR product_price.pricegroup = : defaultPriceGroup
  )
array:4 [
  "ids" => array:1 [
    0 => 2
  ]
  "sessionId" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  "pricegroup" => "EK"
  "defaultPriceGroup" => "EK"
]
0.0001 ms
SELECT 
  NOW() AS current, 
  cf.value AS last, 
  (
    SELECT 
      1 
    FROM 
      s_search_index 
    LIMIT 
      1
  ) AS not_force 
FROM 
  s_core_config_elements ce, 
  s_core_config_values cf 
WHERE 
  ce.name = 'fuzzysearchlastupdate' 
  AND cf.element_id = ce.id 
  AND cf.shop_id = 1
[]
0.0002 ms
SHOW COLUMNS 
FROM 
  s_articles_attributes
[]
0.0004 ms
SHOW COLUMNS 
FROM 
  s_articles_supplier_attributes
[]
0.0003 ms
SHOW COLUMNS 
FROM 
  s_articles_esd_attributes
[]
0.0002 ms
SELECT 
  product.id as __product_id, 
  product.supplierID as __product_supplierID, 
  product.name as __product_name, 
  product.description as __product_description, 
  product.description_long as __product_description_long, 
  product.shippingtime as __product_shippingtime, 
  product.datum as __product_datum, 
  product.active as __product_active, 
  product.taxID as __product_taxID, 
  product.pseudosales as __product_pseudosales, 
  product.topseller as __product_topseller, 
  product.metaTitle as __product_metaTitle, 
  product.keywords as __product_keywords, 
  product.changetime as __product_changetime, 
  product.pricegroupID as __product_pricegroupID, 
  product.pricegroupActive as __product_pricegroupActive, 
  product.filtergroupID as __product_filtergroupID, 
  product.crossbundlelook as __product_crossbundlelook, 
  product.notification as __product_notification, 
  product.template as __product_template, 
  product.mode as __product_mode, 
  product.main_detail_id as __product_main_detail_id, 
  product.available_from as __product_available_from, 
  product.available_to as __product_available_to, 
  product.configurator_set_id as __product_configurator_set_id, 
  productAttribute.id as __productAttribute_id, 
  productAttribute.articleID as __productAttribute_articleID, 
  productAttribute.articledetailsID as __productAttribute_articledetailsID, 
  productAttribute.attr1 as __productAttribute_attr1, 
  productAttribute.attr2 as __productAttribute_attr2, 
  productAttribute.attr3 as __productAttribute_attr3, 
  productAttribute.attr4 as __productAttribute_attr4, 
  productAttribute.attr5 as __productAttribute_attr5, 
  productAttribute.attr6 as __productAttribute_attr6, 
  productAttribute.attr7 as __productAttribute_attr7, 
  productAttribute.attr8 as __productAttribute_attr8, 
  productAttribute.attr9 as __productAttribute_attr9, 
  productAttribute.attr10 as __productAttribute_attr10, 
  productAttribute.attr11 as __productAttribute_attr11, 
  productAttribute.attr12 as __productAttribute_attr12, 
  productAttribute.attr13 as __productAttribute_attr13, 
  productAttribute.attr14 as __productAttribute_attr14, 
  productAttribute.attr15 as __productAttribute_attr15, 
  productAttribute.attr16 as __productAttribute_attr16, 
  productAttribute.attr17 as __productAttribute_attr17, 
  productAttribute.attr18 as __productAttribute_attr18, 
  productAttribute.attr19 as __productAttribute_attr19, 
  productAttribute.attr20 as __productAttribute_attr20, 
  topSeller.sales as __topSeller_sales, 
  variant.id as __variant_id, 
  variant.ordernumber as __variant_ordernumber, 
  variant.suppliernumber as __variant_suppliernumber, 
  variant.kind as __variant_kind, 
  variant.additionaltext as __variant_additionaltext, 
  variant.sales as __variant_sales, 
  variant.active as __variant_active, 
  variant.instock as __variant_instock, 
  variant.stockmin as __variant_stockmin, 
  variant.weight as __variant_weight, 
  variant.position as __variant_position, 
  variant.width as __variant_width, 
  variant.height as __variant_height, 
  variant.length as __variant_length, 
  variant.ean as __variant_ean, 
  variant.unitID as __variant_unitID, 
  variant.releasedate as __variant_releasedate, 
  variant.shippingfree as __variant_shippingfree, 
  variant.shippingtime as __variant_shippingtime, 
  variant.laststock as __product_laststock, 
  unit.id as __unit_id, 
  unit.description as __unit_description, 
  unit.unit as __unit_unit, 
  variant.packunit as __unit_packunit, 
  variant.purchaseunit as __unit_purchaseunit, 
  variant.referenceunit as __unit_referenceunit, 
  variant.purchasesteps as __unit_purchasesteps, 
  variant.minpurchase as __unit_minpurchase, 
  variant.maxpurchase as __unit_maxpurchase, 
  tax.id as __tax_id, 
  tax.tax as __tax_tax, 
  tax.description as __tax_description, 
  priceGroup.id as __priceGroup_id, 
  priceGroup.description as __priceGroup_description, 
  manufacturer.id as __manufacturer_id, 
  manufacturer.name as __manufacturer_name, 
  manufacturer.img as __manufacturer_img, 
  manufacturer.link as __manufacturer_link, 
  manufacturer.description as __manufacturer_description, 
  manufacturer.meta_title as __manufacturer_meta_title, 
  manufacturer.meta_description as __manufacturer_meta_description, 
  manufacturer.meta_keywords as __manufacturer_meta_keywords, 
  manufacturerAttribute.id as __manufacturerAttribute_id, 
  manufacturerAttribute.supplierID as __manufacturerAttribute_supplierID, 
  esd.id as __esd_id, 
  esd.articleID as __esd_articleID, 
  esd.articledetailsID as __esd_articledetailsID, 
  esd.file as __esd_file, 
  esd.serials as __esd_serials, 
  esd.notification as __esd_notification, 
  esd.maxdownloads as __esd_maxdownloads, 
  esd.datum as __esd_datum, 
  esdAttribute.id as __esdAttribute_id, 
  esdAttribute.esdID as __esdAttribute_esdID, 
  (
    SELECT 
      1 
    FROM 
      s_articles_esd variantEsd 
    WHERE 
      variantEsd.articleID = product.id 
    LIMIT 
      1
  ) as __product_has_esd, 
  (
    SELECT 
      GROUP_CONCAT(
        customerGroups.customergroupId SEPARATOR '|'
      ) 
    FROM 
      s_articles_avoid_customergroups customerGroups 
    WHERE 
      customerGroups.articleID = product.id
  ) as __product_blocked_customer_groups, 
  (
    SELECT 
      COUNT(availableVariant.id) 
    FROM 
      s_articles_details availableVariant 
    WHERE 
      (
        availableVariant.articleID = product.id
      ) 
      AND (availableVariant.active = 1) 
      AND (
        (
          availableVariant.laststock * availableVariant.instock
        ) >= (
          availableVariant.laststock * availableVariant.minpurchase
        )
      )
  ) as __product_has_available_variants, 
  (
    SELECT 
      COUNT(
        DISTINCT ROUND(prices.price, 2)
      ) as priceCount 
    FROM 
      s_articles_prices prices 
      INNER JOIN s_articles_details priceVariant ON priceVariant.id = prices.articledetailsID 
      and priceVariant.active = 1 
    WHERE 
      (prices.from = 1) 
      AND (prices.pricegroup = : fallback) 
      AND (prices.articleID = product.id)
  ) as __product_fallback_price_count 
FROM 
  s_articles_details variant 
  INNER JOIN s_articles product ON product.id = variant.articleID 
  LEFT JOIN s_core_units unit ON unit.id = variant.unitID 
  LEFT JOIN s_articles_attributes productAttribute ON productAttribute.articledetailsID = variant.id 
  LEFT JOIN s_articles_esd esd ON esd.articledetailsID = variant.id 
  INNER JOIN s_core_tax tax ON tax.id = product.taxID 
  LEFT JOIN s_articles_supplier manufacturer ON manufacturer.id = product.supplierID 
  LEFT JOIN s_core_pricegroups priceGroup ON priceGroup.id = product.pricegroupID 
  LEFT JOIN s_articles_supplier_attributes manufacturerAttribute ON manufacturerAttribute.supplierID = product.supplierID 
  LEFT JOIN s_articles_top_seller_ro topSeller ON topSeller.article_id = product.id 
  LEFT JOIN s_articles_esd_attributes esdAttribute ON esdAttribute.esdID = esd.id 
WHERE 
  (
    variant.ordernumber IN (: numbers)
  ) 
  AND (variant.active = 1) 
  AND (product.active = 1)
array:2 [
  ":fallback" => "EK"
  ":numbers" => array:1 [
    0 => "1000-04"
  ]
]
0.0002 ms
SHOW COLUMNS 
FROM 
  s_articles_img_attributes
[]
0.0003 ms
SELECT 
  variant.ordernumber as number, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  image.id as __image_id, 
  image.articleID as __image_articleID, 
  image.img as __image_img, 
  image.main as __image_main, 
  image.description as __image_description, 
  image.position as __image_position, 
  image.width as __image_width, 
  image.height as __image_height, 
  image.extension as __image_extension, 
  image.parent_id as __image_parent_id, 
  image.media_id as __image_media_id, 
  imageAttribute.id as __imageAttribute_id, 
  imageAttribute.imageID as __imageAttribute_imageID, 
  imageAttribute.attribute1 as __imageAttribute_attribute1, 
  imageAttribute.attribute2 as __imageAttribute_attribute2, 
  imageAttribute.attribute3 as __imageAttribute_attribute3 
FROM 
  s_articles_img image 
  INNER JOIN s_media media ON image.media_id = media.id 
  INNER JOIN s_articles_img childImage ON childImage.parent_id = image.id 
  INNER JOIN s_articles_details variant ON variant.id = childImage.article_detail_id 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = image.media_id 
  LEFT JOIN s_articles_img_attributes imageAttribute ON imageAttribute.imageID = image.id 
  INNER JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
WHERE 
  childImage.article_detail_id IN (: products) 
ORDER BY 
  image.main ASC, 
  image.position ASC
array:1 [
  ":products" => array:1 [
    0 => 50
  ]
]
0.0001 ms
SELECT 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  image.id as __image_id, 
  image.articleID as __image_articleID, 
  image.img as __image_img, 
  image.main as __image_main, 
  image.description as __image_description, 
  image.position as __image_position, 
  image.width as __image_width, 
  image.height as __image_height, 
  image.extension as __image_extension, 
  image.parent_id as __image_parent_id, 
  image.media_id as __image_media_id, 
  imageAttribute.id as __imageAttribute_id, 
  imageAttribute.imageID as __imageAttribute_imageID, 
  imageAttribute.attribute1 as __imageAttribute_attribute1, 
  imageAttribute.attribute2 as __imageAttribute_attribute2, 
  imageAttribute.attribute3 as __imageAttribute_attribute3 
FROM 
  s_articles_img image 
  INNER JOIN s_media media ON image.media_id = media.id 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = image.media_id 
  LEFT JOIN s_articles_img_attributes imageAttribute ON imageAttribute.imageID = image.id 
  LEFT JOIN s_articles_img childImage ON childImage.parent_id = image.id 
  INNER JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
WHERE 
  (image.main = 1) 
  AND (
    image.articleID IN (: products)
  )
array:1 [
  ":products" => array:1 [
    0 => 21
  ]
]
0.0001 ms
SHOW COLUMNS 
FROM 
  s_articles_prices_attributes
[]
0.0002 ms
SELECT 
  price.id as __price_id, 
  price.pricegroup as __price_pricegroup, 
  price.from as __price_from, 
  price.to as __price_to, 
  price.articleID as __price_articleID, 
  price.articledetailsID as __price_articledetailsID, 
  price.price as __price_price, 
  price.pseudoprice as __price_pseudoprice, 
  price.percent as __price_percent, 
  priceAttribute.id as __priceAttribute_id, 
  priceAttribute.priceID as __priceAttribute_priceID, 
  variants.ordernumber as number 
FROM 
  s_articles_prices price 
  INNER JOIN s_articles_details variants ON variants.id = price.articledetailsID 
  LEFT JOIN s_articles_prices_attributes priceAttribute ON priceAttribute.priceID = price.id 
WHERE 
  (
    price.articledetailsID IN (: products)
  ) 
  AND (
    price.pricegroup = : customerGroup
  ) 
ORDER BY 
  price.articledetailsID ASC, 
  price.from ASC
array:2 [
  ":products" => array:1 [
    0 => 50
  ]
  ":customerGroup" => "EK"
]
0.0001 ms
SELECT 
  (
    SELECT 
      prices.id 
    FROM 
      s_articles_prices prices 
      INNER JOIN s_articles_details variant ON variant.id = prices.articledetailsID 
      INNER JOIN s_articles product ON product.id = variant.articleID 
      LEFT JOIN s_core_pricegroups_discounts priceGroup ON priceGroup.groupID = product.pricegroupID 
      AND priceGroup.discountstart = 1 
      AND priceGroup.customergroupID = : priceGroupCustomerGroup 
      AND product.pricegroupActive = 1 
    WHERE 
      (
        prices.pricegroup = : customerGroup
      ) 
      AND (prices.from = 1) 
      AND (variant.active = 1) 
      AND (
        prices.articleID = outerPrices.articleID
      ) 
      AND (
        (
          variant.laststock * variant.instock
        ) >= (
          variant.laststock * variant.minpurchase
        )
      ) 
    ORDER BY 
      prices.price ASC 
    LIMIT 
      1
  ) as priceId 
FROM 
  s_articles_prices outerPrices 
WHERE 
  outerPrices.articleID IN (: products) 
GROUP BY 
  outerPrices.articleID 
HAVING 
  priceId IS NOT NULL
array:3 [
  ":customerGroup" => "EK"
  ":products" => array:1 [
    0 => 21
  ]
  ":priceGroupCustomerGroup" => 1
]
0.0001 ms
SELECT 
  price.id as __price_id, 
  price.pricegroup as __price_pricegroup, 
  price.from as __price_from, 
  price.to as __price_to, 
  price.articleID as __price_articleID, 
  price.articledetailsID as __price_articledetailsID, 
  price.price as __price_price, 
  price.pseudoprice as __price_pseudoprice, 
  price.percent as __price_percent, 
  priceAttribute.id as __priceAttribute_id, 
  priceAttribute.priceID as __priceAttribute_priceID, 
  unit.id as __unit_id, 
  unit.description as __unit_description, 
  unit.unit as __unit_unit, 
  variant.packunit as __unit_packunit, 
  variant.purchaseunit as __unit_purchaseunit, 
  variant.referenceunit as __unit_referenceunit, 
  variant.purchasesteps as __unit_purchasesteps, 
  variant.minpurchase as __unit_minpurchase, 
  variant.maxpurchase as __unit_maxpurchase 
FROM 
  s_articles_prices price 
  INNER JOIN s_articles_details variant ON variant.id = price.articledetailsID 
  LEFT JOIN s_articles_prices_attributes priceAttribute ON priceAttribute.priceID = price.id 
  INNER JOIN s_articles product ON product.id = variant.articleID 
  LEFT JOIN s_core_units unit ON unit.id = variant.unitID 
WHERE 
  price.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => "67"
  ]
]
0.0000 ms
SELECT 
  articleID, 
  COUNT(id) as total, 
  points 
FROM 
  s_articles_vote vote 
WHERE 
  (
    vote.articleID IN (: products)
  ) 
  AND (vote.active = 1) 
GROUP BY 
  vote.articleID, 
  vote.points 
ORDER BY 
  vote.articleID ASC
array:1 [
  ":products" => array:1 [
    0 => 21
  ]
]
0.0000 ms
SELECT 
  mapping.articleID, 
  GROUP_CONCAT(DISTINCT mapping.categoryID) 
FROM 
  s_articles_categories_ro mapping 
WHERE 
  mapping.articleID IN (: ids) 
GROUP BY 
  mapping.articleID
array:1 [
  ":ids" => array:1 [
    0 => 21
  ]
]
0.0000 ms
SHOW COLUMNS 
FROM 
  s_product_streams_attributes
[]
0.0002 ms
SELECT 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  stream.id as __stream_id, 
  stream.name as __stream_name, 
  stream.description as __stream_description, 
  stream.type as __stream_type, 
  productStreamAttribute.id as __productStreamAttribute_id, 
  productStreamAttribute.streamID as __productStreamAttribute_streamID, 
  GROUP_CONCAT(customerGroups.customergroupID) as __category_customer_groups 
FROM 
  s_categories category 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_product_streams stream ON category.stream_id = stream.id 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
  LEFT JOIN s_product_streams_attributes productStreamAttribute ON stream.id = productStreamAttribute.streamId 
WHERE 
  (
    category.id IN (: categories)
  ) 
  AND (category.active = 1) 
  AND (
    category.shops IS NULL 
    OR category.shops LIKE : shopId
  ) 
GROUP BY 
  category.id
array:2 [
  ":categories" => array:7 [
    0 => "2"
    1 => "3"
    2 => "12"
    3 => "24"
    4 => "25"
    5 => "69"
    6 => "75"
  ]
  ":shopId" => "%|1|%"
]
0.0001 ms
SHOW COLUMNS 
FROM 
  s_filter_attributes
[]
0.0003 ms
SHOW COLUMNS 
FROM 
  s_filter_options_attributes
[]
0.0002 ms
SHOW COLUMNS 
FROM 
  s_filter_values_attributes
[]
0.0002 ms
SELECT 
  products.id as productId, 
  relations.position as __relations_position, 
  propertySet.id as __propertySet_id, 
  propertySet.name as __propertySet_name, 
  propertySet.position as __propertySet_position, 
  propertySet.comparable as __propertySet_comparable, 
  propertySet.sortmode as __propertySet_sortmode, 
  propertySetAttribute.id as __propertySetAttribute_id, 
  propertySetAttribute.filterID as __propertySetAttribute_filterID, 
  propertyGroup.id as __propertyGroup_id, 
  propertyGroup.name as __propertyGroup_name, 
  propertyGroup.filterable as __propertyGroup_filterable, 
  propertyGroupAttribute.id as __propertyGroupAttribute_id, 
  propertyGroupAttribute.optionID as __propertyGroupAttribute_optionID, 
  propertyOption.id as __propertyOption_id, 
  propertyOption.optionID as __propertyOption_optionID, 
  propertyOption.value as __propertyOption_value, 
  propertyOption.position as __propertyOption_position, 
  propertyOptionAttribute.id as __propertyOptionAttribute_id, 
  propertyOptionAttribute.valueID as __propertyOptionAttribute_valueID, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID 
FROM 
  s_filter_articles filterArticles 
  INNER JOIN s_articles products ON products.id = filterArticles.articleID 
  INNER JOIN s_filter_values propertyOption ON propertyOption.id = filterArticles.valueID 
  INNER JOIN s_filter propertySet ON propertySet.id = products.filtergroupID 
  INNER JOIN s_filter_relations relations ON relations.groupID = propertySet.id 
  LEFT JOIN s_filter_attributes propertySetAttribute ON propertySetAttribute.filterID = propertySet.id 
  INNER JOIN s_filter_options propertyGroup ON propertyGroup.id = propertyOption.optionID 
  AND relations.optionID = propertyGroup.id 
  LEFT JOIN s_media media ON propertyOption.media_id = media.id 
  LEFT JOIN s_filter_values_attributes propertyOptionAttribute ON propertyOptionAttribute.valueID = propertyOption.id 
  LEFT JOIN s_filter_options_attributes propertyGroupAttribute ON propertyGroupAttribute.optionID = propertyGroup.id 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
WHERE 
  products.id IN (: ids) 
ORDER BY 
  filterArticles.articleID ASC
array:1 [
  ":ids" => array:1 [
    0 => 21
  ]
]
0.0001 ms
SELECT 
  variant.ordernumber as number, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  image.id as __image_id, 
  image.articleID as __image_articleID, 
  image.img as __image_img, 
  image.main as __image_main, 
  image.description as __image_description, 
  image.position as __image_position, 
  image.width as __image_width, 
  image.height as __image_height, 
  image.extension as __image_extension, 
  image.parent_id as __image_parent_id, 
  image.media_id as __image_media_id, 
  imageAttribute.id as __imageAttribute_id, 
  imageAttribute.imageID as __imageAttribute_imageID, 
  imageAttribute.attribute1 as __imageAttribute_attribute1, 
  imageAttribute.attribute2 as __imageAttribute_attribute2, 
  imageAttribute.attribute3 as __imageAttribute_attribute3 
FROM 
  s_articles_img image 
  INNER JOIN s_media media ON image.media_id = media.id 
  INNER JOIN s_articles_img childImage ON childImage.parent_id = image.id 
  INNER JOIN s_articles_details variant ON variant.id = childImage.article_detail_id 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = image.media_id 
  LEFT JOIN s_articles_img_attributes imageAttribute ON imageAttribute.imageID = image.id 
  INNER JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
WHERE 
  childImage.article_detail_id IN (: products) 
ORDER BY 
  image.main ASC, 
  image.position ASC
array:1 [
  ":products" => array:1 [
    0 => 50
  ]
]
0.0001 ms
SELECT 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  image.id as __image_id, 
  image.articleID as __image_articleID, 
  image.img as __image_img, 
  image.main as __image_main, 
  image.description as __image_description, 
  image.position as __image_position, 
  image.width as __image_width, 
  image.height as __image_height, 
  image.extension as __image_extension, 
  image.parent_id as __image_parent_id, 
  image.media_id as __image_media_id, 
  imageAttribute.id as __imageAttribute_id, 
  imageAttribute.imageID as __imageAttribute_imageID, 
  imageAttribute.attribute1 as __imageAttribute_attribute1, 
  imageAttribute.attribute2 as __imageAttribute_attribute2, 
  imageAttribute.attribute3 as __imageAttribute_attribute3 
FROM 
  s_articles_img image 
  INNER JOIN s_media media ON image.media_id = media.id 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = image.media_id 
  LEFT JOIN s_articles_img_attributes imageAttribute ON imageAttribute.imageID = image.id 
  LEFT JOIN s_articles_img childImage ON childImage.parent_id = image.id 
  INNER JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
WHERE 
  (image.main = 1) 
  AND (
    image.articleID IN (: products)
  )
array:1 [
  ":products" => array:1 [
    0 => 21
  ]
]
0.0001 ms
SELECT 
  basket.price as end_price, 
  basket.netprice as net_price, 
  basket.tax_rate, 
  basket.quantity 
FROM 
  s_order_basket basket 
WHERE 
  (basket.modus = 0) 
  AND (basket.sessionID = : session) 
  AND (basket.tax_rate != 0)
array:1 [
  ":session" => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0001 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0000 ms
SELECT 
  active 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0001 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnifiedInstallments"
]
0.0000 ms
SELECT 
  ce.name, 
  COALESCE(
    currentShop.value, parentShop.value, 
    fallbackShop.value, ce.value
  ) as value 
FROM 
  s_core_plugins p 
  INNER JOIN s_core_config_forms cf ON cf.plugin_id = p.id 
  INNER JOIN s_core_config_elements ce ON ce.form_id = cf.id 
  LEFT JOIN s_core_config_values currentShop ON currentShop.element_id = ce.id 
  AND currentShop.shop_id = : currentShopId 
  LEFT JOIN s_core_config_values parentShop ON parentShop.element_id = ce.id 
  AND parentShop.shop_id = : parentShopId 
  LEFT JOIN s_core_config_values fallbackShop ON fallbackShop.element_id = ce.id 
  AND fallbackShop.shop_id = : fallbackShopId 
WHERE 
  p.name =: pluginName
array:4 [
  "fallbackShopId" => 1
  "parentShopId" => 1
  "currentShopId" => 1
  "pluginName" => "AdvancedMenu"
]
0.0000 ms
SELECT 
  category.path 
FROM 
  s_categories category 
WHERE 
  category.id = : id
array:1 [
  ":id" => 3
]
0.0000 ms
SELECT 
  `active` 
FROM 
  s_core_paymentmeans 
WHERE 
  `name` =: paymentName
array:1 [
  ":paymentName" => "SwagPaymentPayPalUnified"
]
0.0000 ms
SELECT 
  t0.id AS id_1, 
  t0.shop_id AS shop_id_2, 
  t0.active AS active_3, 
  t0.client_id AS client_id_4, 
  t0.client_secret AS client_secret_5, 
  t0.sandbox AS sandbox_6, 
  t0.show_sidebar_logo AS show_sidebar_logo_7, 
  t0.brand_name AS brand_name_8, 
  t0.send_order_number AS send_order_number_9, 
  t0.order_number_prefix AS order_number_prefix_10, 
  t0.use_in_context AS use_in_context_11, 
  t0.landing_page_type AS landing_page_type_12, 
  t0.log_level AS log_level_13, 
  t0.display_errors AS display_errors_14, 
  t0.advertise_returns AS advertise_returns_15, 
  t0.use_smart_payment_buttons AS use_smart_payment_buttons_16, 
  t0.merchant_location AS merchant_location_17 
FROM 
  swag_payment_paypal_unified_settings_general t0 
WHERE 
  t0.shop_id = ? 
LIMIT 
  1
array:1 [
  0 => 1
]
0.0000 ms
SELECT 
  id IS NOT NULL 
FROM 
  swag_payment_paypal_unified_settings_general 
WHERE 
  shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0000 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  element.template_id, 
  element.name, 
  element_value.value, 
  element.default_value as defaultValue, 
  element.type 
FROM 
  s_core_templates_config_elements element 
  LEFT JOIN s_core_templates_config_values element_value ON element_value.element_id = element.id 
  AND element_value.shop_id = : shopId 
WHERE 
  element.template_id IN (: ids)
array:2 [
  ":shopId" => 1
  ":ids" => array:4 [
    0 => 26
    1 => 28
    2 => 23
    3 => 22
  ]
]
0.0004 ms
SELECT 
  shop.id, 
  REPLACE(locale.locale, "_", "-") as locale 
FROM 
  s_core_shops shop 
  INNER JOIN s_core_locales locale ON locale.id = shop.locale_id 
WHERE 
  (
    (shop.id = : shopId) 
    OR (shop.main_id = : shopId)
  ) 
  AND (active = 1)
array:1 [
  "shopId" => 1
]
0.0001 ms
SELECT 
  category.path 
FROM 
  s_categories category 
WHERE 
  category.id = : id
array:1 [
  ":id" => 3
]
0.0001 ms
SELECT 
  category.id, 
  category.parent 
FROM 
  s_categories category 
WHERE 
  (
    (
      category.parent IN(: parentId) 
      OR category.id IN (: parentId)
    )
  ) 
  AND (category.active = 1) 
  AND (
    category.shops IS NULL 
    OR category.shops LIKE : shopId
  ) 
ORDER BY 
  category.position ASC, 
  category.id ASC
array:2 [
  ":parentId" => array:1 [
    0 => 3
  ]
  ":shopId" => "%|1|%"
]
0.0001 ms
SELECT 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID, 
  stream.id as __stream_id, 
  stream.name as __stream_name, 
  stream.description as __stream_description, 
  stream.type as __stream_type, 
  productStreamAttribute.id as __productStreamAttribute_id, 
  productStreamAttribute.streamID as __productStreamAttribute_streamID, 
  GROUP_CONCAT(customerGroups.customergroupID) as __category_customer_groups 
FROM 
  s_categories category 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_product_streams stream ON category.stream_id = stream.id 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
  LEFT JOIN s_product_streams_attributes productStreamAttribute ON stream.id = productStreamAttribute.streamId 
WHERE 
  (
    category.id IN (: categories)
  ) 
  AND (category.active = 1) 
  AND (
    category.shops IS NULL 
    OR category.shops LIKE : shopId
  ) 
GROUP BY 
  category.id
array:2 [
  ":categories" => array:12 [
    0 => 3
    1 => 2
    2 => 3
    3 => 12
    4 => 4
    5 => 5
    6 => 8
    7 => 161
    8 => 164
    9 => 21
    10 => 167
    11 => 168
  ]
  ":shopId" => "%|1|%"
]
0.0001 ms
SELECT 
  parent as id, 
  COUNT(id) as childrenCount 
FROM 
  s_categories category 
WHERE 
  (
    parent IN (: ids)
  ) 
  AND (category.active = 1) 
GROUP BY 
  parent
array:1 [
  ":ids" => array:12 [
    0 => 3
    1 => 2
    2 => 3
    3 => 12
    4 => 4
    5 => 5
    6 => 8
    7 => 161
    8 => 164
    9 => 21
    10 => 167
    11 => 168
  ]
]
0.0001 ms
SELECT 
  shop.id as __shop_id, 
  shop.main_id as __shop_main_id, 
  shop.name as __shop_name, 
  shop.title as __shop_title, 
  shop.position as __shop_position, 
  shop.host as __shop_host, 
  shop.base_path as __shop_base_path, 
  shop.base_url as __shop_base_url, 
  shop.hosts as __shop_hosts, 
  shop.secure as __shop_secure, 
  shop.template_id as __shop_template_id, 
  shop.document_template_id as __shop_document_template_id, 
  shop.category_id as __shop_category_id, 
  shop.locale_id as __shop_locale_id, 
  shop.currency_id as __shop_currency_id, 
  shop.customer_group_id as __shop_customer_group_id, 
  shop.fallback_id as __shop_fallback_id, 
  shop.customer_scope as __shop_customer_scope, 
  shop.default as __shop_default, 
  shop.active as __shop_active, 
  shopAttribute.id as __shopAttribute_id, 
  shopAttribute.shopID as __shopAttribute_shopID, 
  currency.id as __currency_id, 
  currency.currency as __currency_currency, 
  currency.name as __currency_name, 
  currency.standard as __currency_standard, 
  currency.factor as __currency_factor, 
  currency.templatechar as __currency_templatechar, 
  currency.symbol_position as __currency_symbol_position, 
  currency.position as __currency_position, 
  template.id as __template_id, 
  template.template as __template_template, 
  template.name as __template_name, 
  template.description as __template_description, 
  template.author as __template_author, 
  template.license as __template_license, 
  template.esi as __template_esi, 
  template.style_support as __template_style_support, 
  template.emotion as __template_emotion, 
  template.version as __template_version, 
  template.plugin_id as __template_plugin_id, 
  template.parent_id as __template_parent_id, 
  locale.id as __locale_id, 
  locale.locale as __locale_locale, 
  locale.language as __locale_language, 
  locale.territory as __locale_territory, 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID, 
  category.id as __category_id, 
  category.parent as __category_parent_id, 
  category.position as __category_position, 
  category.path as __category_path, 
  category.description as __category_description, 
  category.meta_title as __category_metatitle, 
  category.metakeywords as __category_metakeywords, 
  category.metadescription as __category_metadescription, 
  category.cmsheadline as __category_cmsheadline, 
  category.product_box_layout as __category_product_box_layout, 
  category.cmstext as __category_cmstext, 
  category.template as __category_template, 
  category.blog as __category_blog, 
  category.external as __category_external, 
  category.external_target as __category_external_target, 
  category.hidefilter as __category_hidefilter, 
  category.hidetop as __category_hidetop, 
  category.stream_id as __category_stream_id, 
  category.hide_sortings as __category_hide_sortings, 
  categoryAttribute.id as __categoryAttribute_id, 
  categoryAttribute.categoryID as __categoryAttribute_categoryID, 
  categoryAttribute.attribute1 as __categoryAttribute_attribute1, 
  categoryAttribute.attribute2 as __categoryAttribute_attribute2, 
  categoryAttribute.attribute3 as __categoryAttribute_attribute3, 
  categoryAttribute.attribute4 as __categoryAttribute_attribute4, 
  categoryAttribute.attribute5 as __categoryAttribute_attribute5, 
  categoryAttribute.attribute6 as __categoryAttribute_attribute6, 
  media.id as __media_id, 
  media.albumID as __media_albumID, 
  media.name as __media_name, 
  media.description as __media_description, 
  media.path as __media_path, 
  media.type as __media_type, 
  media.extension as __media_extension, 
  media.file_size as __media_file_size, 
  media.width as __media_width, 
  media.height as __media_height, 
  media.userID as __media_userID, 
  media.created as __media_created, 
  mediaSettings.id as __mediaSettings_id, 
  mediaSettings.create_thumbnails as __mediaSettings_create_thumbnails, 
  mediaSettings.thumbnail_size as __mediaSettings_thumbnail_size, 
  mediaSettings.icon as __mediaSettings_icon, 
  mediaSettings.thumbnail_high_dpi as __mediaSettings_thumbnail_high_dpi, 
  mediaAttribute.id as __mediaAttribute_id, 
  mediaAttribute.mediaID as __mediaAttribute_mediaID 
FROM 
  s_core_shops shop 
  LEFT JOIN s_core_shops_attributes shopAttribute ON shopAttribute.shopID = shop.id 
  LEFT JOIN s_core_currencies currency ON currency.id = shop.currency_id 
  LEFT JOIN s_core_templates template ON shop.template_id = template.id 
  LEFT JOIN s_core_locales locale ON locale.id = shop.locale_id 
  LEFT JOIN s_core_customergroups customerGroup ON customerGroup.id = shop.customer_group_id 
  LEFT JOIN s_categories category ON category.id = shop.category_id 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
  LEFT JOIN s_categories_attributes categoryAttribute ON categoryAttribute.categoryID = category.id 
  LEFT JOIN s_categories_avoid_customergroups customerGroups ON customerGroups.categoryID = category.id 
  LEFT JOIN s_media media ON media.id = category.mediaID 
  LEFT JOIN s_media_album_settings mediaSettings ON mediaSettings.albumID = media.albumID 
  LEFT JOIN s_media_attributes mediaAttribute ON mediaAttribute.mediaID = media.id 
WHERE 
  shop.id IN (: ids)
array:1 [
  ":ids" => array:1 [
    0 => 1
  ]
]
0.0001 ms
SELECT 
  customerGroup.id as __customerGroup_id, 
  customerGroup.groupkey as __customerGroup_groupkey, 
  customerGroup.description as __customerGroup_description, 
  customerGroup.tax as __customerGroup_tax, 
  customerGroup.taxinput as __customerGroup_taxinput, 
  customerGroup.mode as __customerGroup_mode, 
  customerGroup.discount as __customerGroup_discount, 
  customerGroup.minimumorder as __customerGroup_minimumorder, 
  customerGroup.minimumordersurcharge as __customerGroup_minimumordersurcharge, 
  customerGroupAttribute.id as __customerGroupAttribute_id, 
  customerGroupAttribute.customerGroupID as __customerGroupAttribute_customerGroupID 
FROM 
  s_core_customergroups customerGroup 
  LEFT JOIN s_core_customergroups_attributes customerGroupAttribute ON customerGroupAttribute.customerGroupID = customerGroup.id 
WHERE 
  customerGroup.groupkey IN (: keys)
array:1 [
  ":keys" => array:2 [
    0 => "EK"
    1 => "EK"
  ]
]
0.0000 ms
SELECT 
  tax.id as __tax_id, 
  tax.tax as __tax_tax, 
  tax.description as __tax_description 
FROM 
  s_core_tax tax
[]
0.0000 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => null
  ":country" => null
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "1"
]
0.0000 ms
SELECT 
  taxRule.groupID as __taxRule_groupID, 
  taxRule.tax as __taxRule_tax, 
  taxRule.name as __taxRule_name 
FROM 
  s_core_tax_rules taxRule 
WHERE 
  (
    (
      taxRule.areaID = : area 
      OR taxRule.areaID IS NULL
    )
  ) 
  AND (
    (
      taxRule.countryID = : country 
      OR taxRule.countryID IS NULL
    )
  ) 
  AND (
    (
      taxRule.stateID = : state 
      OR taxRule.stateID IS NULL
    )
  ) 
  AND (
    (
      taxRule.customer_groupID = : customerGroup 
      OR taxRule.customer_groupID IS NULL
    )
  ) 
  AND (taxRule.groupID = : taxId) 
  AND (taxRule.active = 1) 
ORDER BY 
  taxRule.customer_groupID DESC, 
  taxRule.areaID DESC, 
  taxRule.countryID DESC, 
  taxRule.stateID DESC 
LIMIT 
  1 OFFSET 0
array:5 [
  ":area" => null
  ":country" => null
  ":state" => null
  ":customerGroup" => 1
  ":taxId" => "4"
]
0.0001 ms
SELECT 
  priceGroupDiscount.groupID, 
  priceGroupDiscount.id as __priceGroupDiscount_id, 
  priceGroupDiscount.groupID as __priceGroupDiscount_groupID, 
  priceGroupDiscount.discount as __priceGroupDiscount_discount, 
  priceGroupDiscount.discountstart as __priceGroupDiscount_discountstart, 
  priceGroup.id as __priceGroup_id, 
  priceGroup.description as __priceGroup_description 
FROM 
  s_core_pricegroups_discounts priceGroupDiscount 
  INNER JOIN s_core_pricegroups priceGroup ON priceGroup.id = priceGroupDiscount.groupID 
WHERE 
  priceGroupDiscount.customergroupID = : customerGroup 
GROUP BY 
  priceGroupDiscount.id 
ORDER BY 
  priceGroupDiscount.groupID ASC, 
  priceGroupDiscount.discountstart ASC
array:1 [
  ":customerGroup" => 1
]
0.0000 ms
SELECT 
  page.id, 
  page.description, 
  page.link, 
  page.target, 
  page.parentID, 
  groups.key as `group`, 
  mapping.key as mapping 
FROM 
  s_cms_static page 
  LEFT JOIN s_cms_static_groups `groups` ON groups.active = 1 
  LEFT JOIN s_cms_static_groups mapping ON groups.mapping_id = mapping.id 
  LEFT JOIN s_core_shop_pages shops ON groups.id = shops.group_id 
  AND shops.shop_id = : shopId 
WHERE 
  (groups.active = 1) 
  AND (page.active = 1) 
  AND (
    CONCAT('|', page.grouping, '|') LIKE CONCAT('%|', groups.key, '|%')
  ) 
  AND (
    (
      mapping.id IS NULL 
      OR shops.shop_id IS NOT NULL
    )
  ) 
  AND (
    (
      mapping.id IS NULL 
      OR mapping.active = 1
    )
  ) 
  AND (
    (
      page.shop_ids IS NULL 
      OR page.shop_ids LIKE : staticShopId
    )
  ) 
ORDER BY 
  parentID ASC, 
  mapping.key ASC, 
  page.position ASC, 
  page.description ASC
array:2 [
  ":shopId" => 1
  ":staticShopId" => "%|1|%"
]
0.0001 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:15 [
    39 => "sViewport=forms&sFid=9"
    21 => "sViewport=registerFC"
    26 => "sViewport=newsletter"
    37 => "sViewport=forms&sFid=8"
    43 => "sViewport=custom&sCustom=43"
    9 => "sViewport=custom&sCustom=9"
    2 => "sViewport=custom&sCustom=2"
    1 => "sViewport=forms&sFid=5"
    6 => "sViewport=custom&sCustom=6"
    41 => "sViewport=forms&sFid=10"
    8 => "sViewport=custom&sCustom=8"
    7 => "sViewport=custom&sCustom=7"
    45 => "sViewport=custom&sCustom=45"
    4 => "sViewport=custom&sCustom=4"
    3 => "sViewport=custom&sCustom=3"
  ]
]
0.0001 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0001 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  host, 
  hosts 
FROM 
  s_core_shops 
WHERE 
  id = : id
array:1 [
  ":id" => 1
]
0.0001 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:1 [
    0 => "sViewport=checkout&sAction=changeQuantity"
  ]
]
0.0001 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:1 [
    0 => "sViewport=checkout&sAction=deleteArticle"
  ]
]
0.0000 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:1 [
    0 => "sViewport=checkout&sAction=addArticle"
  ]
]
0.0001 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:1 [
    0 => "sViewport=checkout&sAction=addVoucher"
  ]
]
0.0000 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:1 [
    0 => "sViewport=checkout&sAction=calculateShippingCosts"
  ]
]
0.0000 ms
SELECT 
  s_core_config_values.value 
FROM 
  s_core_config_values 
  INNER JOIN s_core_config_elements ON s_core_config_values.element_id = s_core_config_elements.id 
  AND s_core_config_elements.`name` LIKE 'assetTimestamp' 
WHERE 
  s_core_config_values.shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0001 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0000 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0000 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  element.template_id, 
  element.name, 
  element_value.value, 
  element.default_value as defaultValue, 
  element.type 
FROM 
  s_core_templates_config_elements element 
  LEFT JOIN s_core_templates_config_values element_value ON element_value.element_id = element.id 
  AND element_value.shop_id = : shopId 
WHERE 
  (
    element.template_id IN (: ids)
  ) 
  AND (element.less_compatible = 1)
array:2 [
  ":shopId" => 1
  ":ids" => array:4 [
    0 => 26
    1 => 28
    2 => 23
    3 => 22
  ]
]
0.0003 ms
SELECT 
  t0.id AS id_1, 
  t0.template AS template_2, 
  t0.name AS name_3, 
  t0.description AS description_4, 
  t0.author AS author_5, 
  t0.license AS license_6, 
  t0.esi AS esi_7, 
  t0.style_support AS style_support_8, 
  t0.emotion AS emotion_9, 
  t0.version AS version_10, 
  t0.plugin_id AS plugin_id_11, 
  t0.parent_id AS parent_id_12, 
  t0.parent_id AS parent_id_13, 
  t0.plugin_id AS plugin_id_14 
FROM 
  s_core_templates t0 
WHERE 
  t0.id = ?
array:1 [
  0 => 28
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.template AS template_2, 
  t0.name AS name_3, 
  t0.description AS description_4, 
  t0.author AS author_5, 
  t0.license AS license_6, 
  t0.esi AS esi_7, 
  t0.style_support AS style_support_8, 
  t0.emotion AS emotion_9, 
  t0.version AS version_10, 
  t0.plugin_id AS plugin_id_11, 
  t0.parent_id AS parent_id_12, 
  t0.parent_id AS parent_id_13, 
  t0.plugin_id AS plugin_id_14 
FROM 
  s_core_templates t0 
WHERE 
  t0.id = ?
array:1 [
  0 => 22
]
0.0001 ms
SELECT 
  t0.id AS id_1, 
  t0.name AS name_2, 
  t0.label AS label_3, 
  t0.namespace AS namespace_4, 
  t0.source AS source_5, 
  t0.description AS description_6, 
  t0.active AS active_7, 
  t0.added AS added_8, 
  t0.installation_date AS installation_date_9, 
  t0.update_date AS update_date_10, 
  t0.refresh_date AS refresh_date_11, 
  t0.author AS author_12, 
  t0.copyright AS copyright_13, 
  t0.license AS license_14, 
  t0.version AS version_15, 
  t0.support AS support_16, 
  t0.changes AS changes_17, 
  t0.link AS link_18, 
  t0.update_version AS update_version_19, 
  t0.update_source AS update_source_20, 
  t0.capability_update AS capability_update_21, 
  t0.capability_install AS capability_install_22, 
  t0.capability_enable AS capability_enable_23, 
  t0.capability_secure_uninstall AS capability_secure_uninstall_24, 
  t0.translations AS translations_25, 
  t0.in_safe_mode AS in_safe_mode_26 
FROM 
  s_core_plugins t0 
WHERE 
  t0.id = ?
array:1 [
  0 => 67
]
0.0001 ms
SELECT 
  ce.name, 
  COALESCE(
    currentShop.value, parentShop.value, 
    fallbackShop.value, ce.value
  ) as value 
FROM 
  s_core_plugins p 
  INNER JOIN s_core_config_forms cf ON cf.plugin_id = p.id 
  INNER JOIN s_core_config_elements ce ON ce.form_id = cf.id 
  LEFT JOIN s_core_config_values currentShop ON currentShop.element_id = ce.id 
  AND currentShop.shop_id = : currentShopId 
  LEFT JOIN s_core_config_values parentShop ON parentShop.element_id = ce.id 
  AND parentShop.shop_id = : parentShopId 
  LEFT JOIN s_core_config_values fallbackShop ON fallbackShop.element_id = ce.id 
  AND fallbackShop.shop_id = : fallbackShopId 
WHERE 
  p.name =: pluginName
array:4 [
  "fallbackShopId" => 1
  "parentShopId" => 1
  "currentShopId" => null
  "pluginName" => "SwagTinyMceCustomFont"
]
0.0000 ms
SELECT 
  s_core_config_values.value 
FROM 
  s_core_config_values 
  INNER JOIN s_core_config_elements ON s_core_config_values.element_id = s_core_config_elements.id 
  AND s_core_config_elements.`name` LIKE 'assetTimestamp' 
WHERE 
  s_core_config_values.shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0002 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0000 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0000 ms
SELECT 
  template.id, 
  template.id, 
  template.template, 
  template.plugin_id, 
  template.parent_id, 
  plugin.name as plugin_name, 
  plugin.namespace as plugin_namespace, 
  plugin.source as plugin_source 
FROM 
  s_core_templates template 
  LEFT JOIN s_core_plugins plugin ON plugin.id = template.plugin_id
[]
0.0000 ms
SELECT 
  element.template_id, 
  element.name, 
  element_value.value, 
  element.default_value as defaultValue, 
  element.type 
FROM 
  s_core_templates_config_elements element 
  LEFT JOIN s_core_templates_config_values element_value ON element_value.element_id = element.id 
  AND element_value.shop_id = : shopId 
WHERE 
  (
    element.template_id IN (: ids)
  ) 
  AND (element.less_compatible = 1)
array:2 [
  ":shopId" => 1
  ":ids" => array:4 [
    0 => 26
    1 => 28
    2 => 23
    3 => 22
  ]
]
0.0004 ms
SELECT 
  ce.name, 
  COALESCE(
    currentShop.value, parentShop.value, 
    fallbackShop.value, ce.value
  ) as value 
FROM 
  s_core_plugins p 
  INNER JOIN s_core_config_forms cf ON cf.plugin_id = p.id 
  INNER JOIN s_core_config_elements ce ON ce.form_id = cf.id 
  LEFT JOIN s_core_config_values currentShop ON currentShop.element_id = ce.id 
  AND currentShop.shop_id = : currentShopId 
  LEFT JOIN s_core_config_values parentShop ON parentShop.element_id = ce.id 
  AND parentShop.shop_id = : parentShopId 
  LEFT JOIN s_core_config_values fallbackShop ON fallbackShop.element_id = ce.id 
  AND fallbackShop.shop_id = : fallbackShopId 
WHERE 
  p.name =: pluginName
array:4 [
  "fallbackShopId" => 1
  "parentShopId" => 1
  "currentShopId" => null
  "pluginName" => "SwagTinyMceCustomFont"
]
0.0000 ms
SELECT 
  s_core_config_values.value 
FROM 
  s_core_config_values 
  INNER JOIN s_core_config_elements ON s_core_config_values.element_id = s_core_config_elements.id 
  AND s_core_config_elements.`name` LIKE 'assetTimestamp' 
WHERE 
  s_core_config_values.shop_id = : shopId
array:1 [
  "shopId" => 1
]
0.0001 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0000 ms
SELECT 
  s0_.id AS id_0, 
  s0_.compiler_force AS compiler_force_1, 
  s0_.compiler_create_source_map AS compiler_create_source_map_2, 
  s0_.compiler_compress_css AS compiler_compress_css_3, 
  s0_.compiler_compress_js AS compiler_compress_js_4, 
  s0_.force_reload_snippets AS force_reload_snippets_5 
FROM 
  s_core_theme_settings s0_ 
ORDER BY 
  s0_.id ASC 
LIMIT 
  1 OFFSET 0
[]
0.0000 ms
SELECT 
  org_path, 
  path 
FROM 
  s_core_rewrite_urls 
WHERE 
  subshopID =: shopId 
  AND org_path IN (: orgPath) 
  AND main = 1 
ORDER BY 
  id DESC
array:2 [
  ":shopId" => 1
  ":orgPath" => array:69 [
    0 => "sViewport=cat&sCategory=2"
    1 => "sViewport=cat&sCategory=12"
    2 => "sViewport=cat&sCategory=4"
    3 => "sViewport=cat&sCategory=5"
    4 => "sViewport=cat&sCategory=161"
    5 => "sViewport=cat&sCategory=164"
    6 => "sViewport=cat&sCategory=21"
    7 => "sViewport=cat&sCategory=167"
    8 => "sViewport=cat&sCategory=168"
    9 => "sViewport=cat&sCategory=2"
    10 => "sViewport=cat&sCategory=25"
    11 => "sViewport=cat&sCategory=29"
    12 => "sViewport=cat&sCategory=33"
    13 => "sViewport=cat&sCategory=93"
    14 => "sViewport=cat&sCategory=120"
    15 => "sViewport=cat&sCategory=136"
    16 => "sViewport=cat&sCategory=140"
    17 => "sViewport=cat&sCategory=141"
    18 => "sViewport=cat&sCategory=146"
    19 => "sViewport=cat&sCategory=156"
    20 => "sViewport=cat&sCategory=157"
    21 => "sViewport=cat&sCategory=2"
    22 => "sViewport=cat&sCategory=2"
    23 => "sViewport=cat&sCategory=12"
    24 => "sViewport=cat&sCategory=75"
    25 => "sViewport=cat&sCategory=76"
    26 => "sViewport=cat&sCategory=101"
    27 => "sViewport=cat&sCategory=16"
    28 => "sViewport=cat&sCategory=91"
    29 => "sViewport=cat&sCategory=110"
    30 => "sViewport=cat&sCategory=160"
    31 => "sViewport=cat&sCategory=12"
    32 => "sViewport=cat&sCategory=12"
    33 => "sViewport=cat&sCategory=4"
    34 => "sViewport=cat&sCategory=19"
    35 => "sViewport=cat&sCategory=20"
    36 => "sViewport=cat&sCategory=68"
    37 => "sViewport=cat&sCategory=118"
    38 => "sViewport=cat&sCategory=4"
    39 => "sViewport=cat&sCategory=4"
    40 => "sViewport=cat&sCategory=5"
    41 => "sViewport=cat&sCategory=17"
    42 => "sViewport=cat&sCategory=18"
    43 => "sViewport=cat&sCategory=35"
    44 => "sViewport=cat&sCategory=5"
    45 => "sViewport=cat&sCategory=5"
    46 => "sViewport=cat&sCategory=161"
    47 => "sViewport=cat&sCategory=162"
    48 => "sViewport=cat&sCategory=163"
    49 => "sViewport=cat&sCategory=164"
    50 => "sViewport=cat&sCategory=169"
    51 => "sViewport=cat&sCategory=170"
    52 => "sViewport=cat&sCategory=21"
    53 => "sViewport=cat&sCategory=21"
    54 => "sViewport=cat&sCategory=21"
    55 => "sViewport=cat&sCategory=167"
    56 => "sViewport=cat&sCategory=168"
    57 => "sViewport=cat&sCategory=2"
    58 => "sViewport=cat&sCategory=12"
    59 => "sViewport=cat&sCategory=4"
    60 => "sViewport=cat&sCategory=5"
    61 => "sViewport=cat&sCategory=8"
    62 => "sViewport=cat&sCategory=161"
    63 => "sViewport=cat&sCategory=164"
    64 => "sViewport=cat&sCategory=21"
    65 => "sViewport=cat&sCategory=167"
    66 => "sViewport=cat&sCategory=168"
    67 => "sViewport=detail&sArticle=21"
    68 => "sViewport=detail&sArticle=21"
  ]
]
0.0002 ms
SELECT 
  expiry, 
  modified 
FROM 
  s_core_sessions 
WHERE 
  id = ?
array:1 [
  0 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0003 ms
SELECT 
  ce.subscribe as name, 
  ce.listener, 
  ce.position, 
  cp.name as plugin 
FROM 
  s_core_subscribes ce 
  JOIN s_core_plugins cp ON cp.id = ce.pluginID 
  AND cp.active = 1 
  AND cp.namespace = ? 
WHERE 
  ce.type = 0 
ORDER BY 
  name, 
  position
array:1 [
  1 => "Core"
]
0.1659 ms
SELECT 
  ce.subscribe as name, 
  ce.listener, 
  ce.position, 
  cp.name as plugin 
FROM 
  s_core_subscribes ce 
  JOIN s_core_plugins cp ON cp.id = ce.pluginID 
  AND cp.active = 1 
  AND cp.namespace = ? 
WHERE 
  ce.type = 0 
ORDER BY 
  name, 
  position
array:1 [
  1 => "Frontend"
]
0.0780 ms
SELECT 
  ce.subscribe as name, 
  ce.listener, 
  ce.position, 
  cp.name as plugin 
FROM 
  s_core_subscribes ce 
  JOIN s_core_plugins cp ON cp.id = ce.pluginID 
  AND cp.active = 1 
  AND cp.namespace = ? 
WHERE 
  ce.type = 0 
ORDER BY 
  name, 
  position
array:1 [
  1 => "Backend"
]
0.0639 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0970 ms
SELECT 
  * 
FROM 
  s_core_customergroups 
WHERE 
  groupkey = ?
array:1 [
  1 => "EK"
]
0.0880 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0460 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0288 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.0532 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "7"
]
0.0429 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0441 ms
SELECT 
  * 
FROM 
  s_core_paymentmeans 
WHERE 
  id = ?
array:1 [
  1 => 5
]
0.0448 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0370 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0381 ms
SELECT 
  1 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND id = ?
array:3 [
  1 => 1
  2 => "2"
  3 => 5
]
0.0401 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0269 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0339 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.0420 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "7"
]
0.0310 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0191 ms
SELECT 
  main_id 
FROM 
  s_core_shops 
WHERE 
  id = ?
array:1 [
  1 => 1
]
0.0188 ms
SELECT 
  * 
FROM 
  s_core_countries 
ORDER BY 
  position, 
  countryname ASC
[]
0.1569 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0420 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0350 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.0272 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "7"
]
0.0191 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0200 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0389 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0341 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.0279 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "7"
]
0.0179 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0169 ms
SELECT 
  main_id 
FROM 
  s_core_shops 
WHERE 
  id = ?
array:1 [
  1 => 1
]
0.0210 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0288 ms
SELECT 
  * 
FROM 
  s_core_customergroups 
WHERE 
  groupkey = ?
array:1 [
  1 => "EK"
]
0.0241 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0288 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0222 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.0260 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "7"
]
0.0241 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0191 ms
SELECT 
  * 
FROM 
  s_core_paymentmeans 
WHERE 
  id = ?
array:1 [
  1 => 5
]
0.0269 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0191 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0169 ms
SELECT 
  1 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND id = ?
array:3 [
  1 => 1
  2 => "2"
  3 => 5
]
0.0222 ms
DELETE FROM 
  `s_order_basket` 
WHERE 
  (
    sessionID = '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717'
  ) 
  AND (
    modus IN (3, 4)
  ) 
  AND (
    ordernumber IN (
      'sw-payment-absolute', 'SHIPPINGDISCOUNT', 
      'sw-payment', 'sw-discount'
    )
  )
[]
0.1571 ms
SELECT 
  c.*, 
  a.name AS countryarea 
FROM 
  s_core_countries c 
  LEFT JOIN s_core_countries_areas a ON a.id = c.areaID 
  AND a.active = 1 
WHERE 
  c.id = ?
array:1 [
  1 => 2
]
0.0260 ms
SELECT 
  id 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND esdarticle = 1 
LIMIT 
  1;
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0250 ms
SELECT 
  p.id, 
  p.active, 
  p.esdactive, 
  p.mobile_inactive 
FROM 
  s_core_paymentmeans p 
  LEFT JOIN s_core_paymentmeans_subshops ps ON ps.subshopID = ? 
  AND ps.paymentID = p.id 
  LEFT JOIN s_core_paymentmeans_countries pc ON pc.countryID = ? 
  AND pc.paymentID = p.id 
WHERE 
  (
    ps.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_subshops 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
  AND (
    pc.paymentID IS NOT NULL 
    OR (
      SELECT 
        paymentID 
      FROM 
        s_core_paymentmeans_countries 
      WHERE 
        paymentID = p.id 
      LIMIT 
        1
    ) IS NULL
  ) 
ORDER BY 
  position, 
  name
array:2 [
  1 => 1
  2 => 2
]
0.0262 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "7"
]
0.0191 ms
SELECT 
  rule1, 
  value1, 
  rule2, 
  value2 
FROM 
  s_core_rulesets 
WHERE 
  paymentID = ? 
ORDER BY 
  id ASC
array:1 [
  1 => "5"
]
0.0172 ms
SELECT 
  main_id 
FROM 
  s_core_shops 
WHERE 
  id = ?
array:1 [
  1 => 1
]
0.0200 ms
SELECT 
  c.id, 
  c.id as countryID, 
  countryname, 
  countryiso, 
  (
    SELECT 
      name 
    FROM 
      s_core_countries_areas 
    WHERE 
      id = areaID
  ) AS countryarea, 
  countryen, 
  c.position, 
  notice 
FROM 
  s_core_countries c 
WHERE 
  c.id = 2
[]
0.0200 ms
SELECT 
  * 
FROM 
  s_core_paymentmeans 
WHERE 
  id = 5
[]
0.0219 ms
SELECT 
  SUM(
    (
      CAST(
        price AS DECIMAL(10, 2)
      )* quantity
    )/ currencyFactor
  ) AS amount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0179 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'backend/static/discounts_surcharges'
  ) 
  AND (shopID = '1') 
  AND (localeID = '1')
[]
0.0370 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'backend/static/discounts_surcharges'
  ) 
  AND (shopID = '1') 
  AND (localeID = '2')
[]
0.0300 ms
SELECT 
  basketdiscount 
FROM 
  s_core_customergroups_discounts 
WHERE 
  groupID = ? 
  AND basketdiscountstart <= ? 
ORDER BY 
  basketdiscountstart DESC
array:2 [
  1 => "1"
  2 => 71.4
]
0.0610 ms
SELECT 
  id, 
  bind_sql 
FROM 
  s_premium_dispatch 
WHERE 
  active = 1 
  AND type = ? 
  AND bind_sql IS NOT NULL
array:1 [
  1 => 3
]
0.0420 ms
SELECT 
  d.id, 
  d.calculation 
FROM 
  s_premium_dispatch d 
  JOIN (
    SELECT 
      '0' as `instock`, 
      '' as `stockmin`, 
      '0' as `laststock`, 
      '' as `weight`, 
      '1' as `count_article`, 
      '0' as `shippingfree`, 
      '71.4' as `amount`, 
      '60' as `amount_net`, 
      '71.40' as `amount_display`, 
      '' as `length`, 
      '' as `height`, 
      '' as `width`, 
      '' as `userID`, 
      '0' as `has_topseller`, 
      '' as `has_comment`, 
      '0' as `has_esd`, 
      19 as `max_tax`, 
      0 as `basketStateId`, 
      2 as `countryID`, 
      5 as `paymentID`, 
      1 as `customergroupID`, 
      1 as `multishopID`, 
      '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717' as `sessionID`
  ) b 
  JOIN s_premium_dispatch_countries dc ON d.id = dc.dispatchID 
  AND dc.countryID = b.countryID 
  JOIN s_premium_dispatch_paymentmeans dp ON d.id = dp.dispatchID 
  AND dp.paymentID = b.paymentID 
  LEFT JOIN s_premium_holidays h ON h.date = CURDATE() 
  LEFT JOIN s_premium_dispatch_holidays dh ON d.id = dh.dispatchID 
  AND h.id = dh.holidayID 
  LEFT JOIN (
    SELECT 
      dc.dispatchID 
    FROM 
      s_order_basket b 
      JOIN s_articles_categories_ro ac ON ac.articleID = b.articleID 
      JOIN s_premium_dispatch_categories dc ON dc.categoryID = ac.categoryID 
    WHERE 
      b.modus = 0 
      AND b.sessionID = '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717' 
    GROUP BY 
      dc.dispatchID
  ) as dk ON dk.dispatchID = d.id 
  LEFT JOIN s_user u ON u.id = b.userID 
  AND u.active = 1 
  LEFT JOIN s_user_addresses as ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses as us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  d.active = 1 
  AND (
    (
      bind_time_from IS NULL 
      AND bind_time_to IS NULL
    ) 
    OR (
      IFNULL(bind_time_from, 0) <= IFNULL(bind_time_to, 86400) 
      AND TIME_TO_SEC(
        DATE_FORMAT(NOW(), '%H:%i:00')
      ) BETWEEN IFNULL(bind_time_from, 0) 
      AND IFNULL(bind_time_to, 86400)
    ) 
    OR (
      bind_time_from > bind_time_to 
      AND TIME_TO_SEC(
        DATE_FORMAT(NOW(), '%H:%i:00')
      ) NOT BETWEEN bind_time_to 
      AND bind_time_from
    )
  ) 
  AND (
    (
      bind_weekday_from IS NULL 
      AND bind_weekday_to IS NULL
    ) 
    OR (
      IFNULL(bind_weekday_from, 1) <= IFNULL(bind_weekday_to, 7) 
      AND REPLACE(
        WEEKDAY(NOW()), 
        0, 
        6
      )+ 1 BETWEEN IFNULL(bind_weekday_from, 1) 
      AND IFNULL(bind_weekday_to, 7)
    ) 
    OR (
      bind_weekday_from > bind_weekday_to 
      AND REPLACE(
        WEEKDAY(NOW()), 
        0, 
        6
      )+ 1 NOT BETWEEN bind_weekday_to 
      AND bind_weekday_from
    )
  ) 
  AND (
    bind_weight_from IS NULL 
    OR bind_weight_from <= b.weight
  ) 
  AND (
    bind_weight_to IS NULL 
    OR bind_weight_to >= b.weight
  ) 
  AND (
    bind_price_from IS NULL 
    OR bind_price_from <= b.amount
  ) 
  AND (
    bind_price_to IS NULL 
    OR bind_price_to >= b.amount
  ) 
  AND (
    bind_instock = 0 
    OR bind_instock IS NULL 
    OR (
      bind_instock = 1 
      AND b.instock
    ) 
    OR (
      bind_instock = 2 
      AND b.stockmin
    )
  ) 
  AND (
    bind_laststock = 0 
    OR (
      bind_laststock = 1 
      AND b.laststock
    )
  ) 
  AND (
    bind_shippingfree = 2 
    OR NOT b.shippingfree
  ) 
  AND dh.holidayID IS NULL 
  AND (
    d.multishopID IS NULL 
    OR d.multishopID = b.multishopID
  ) 
  AND (
    d.customergroupID IS NULL 
    OR d.customergroupID = b.customergroupID
  ) 
  AND dk.dispatchID IS NULL 
  AND d.type = 3 
  AND (
    d.shippingfree IS NULL 
    OR d.shippingfree > b.amount
  ) 
GROUP BY 
  d.id
array:2 [
  ":billingAddressId" => 0
  ":shippingAddressId" => 0
]
0.7169 ms
SELECT 
  d.id, 
  `name`, 
  d.description, 
  calculation, 
  status_link, 
  surcharge_calculation, 
  bind_shippingfree, 
  shippingfree, 
  tax_calculation, 
  t.tax AS tax_calculation_value 
FROM 
  s_premium_dispatch d 
  LEFT JOIN s_core_tax t ON t.id = d.tax_calculation 
WHERE 
  active = 1 
  AND d.id = ?
array:1 [
  1 => 9
]
0.0460 ms
SELECT 
  `value`, 
  `factor` 
FROM 
  `s_premium_shippingcosts` 
WHERE 
  `from` <= ? 
  AND `dispatchID` = ? 
ORDER BY 
  `from` DESC 
LIMIT 
  1
array:2 [
  1 => 0.0
  2 => "9"
]
0.0222 ms
SELECT 
  id, 
  bind_sql 
FROM 
  s_premium_dispatch 
WHERE 
  active = 1 
  AND type = ? 
  AND bind_sql IS NOT NULL
array:1 [
  1 => 2
]
0.0191 ms
SELECT 
  d.id, 
  d.calculation 
FROM 
  s_premium_dispatch d 
  JOIN (
    SELECT 
      '0' as `instock`, 
      '' as `stockmin`, 
      '0' as `laststock`, 
      '' as `weight`, 
      '1' as `count_article`, 
      '0' as `shippingfree`, 
      '71.4' as `amount`, 
      '60' as `amount_net`, 
      '71.40' as `amount_display`, 
      '' as `length`, 
      '' as `height`, 
      '' as `width`, 
      '' as `userID`, 
      '0' as `has_topseller`, 
      '' as `has_comment`, 
      '0' as `has_esd`, 
      19 as `max_tax`, 
      0 as `basketStateId`, 
      2 as `countryID`, 
      5 as `paymentID`, 
      1 as `customergroupID`, 
      1 as `multishopID`, 
      '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717' as `sessionID`
  ) b 
  JOIN s_premium_dispatch_countries dc ON d.id = dc.dispatchID 
  AND dc.countryID = b.countryID 
  JOIN s_premium_dispatch_paymentmeans dp ON d.id = dp.dispatchID 
  AND dp.paymentID = b.paymentID 
  LEFT JOIN s_premium_holidays h ON h.date = CURDATE() 
  LEFT JOIN s_premium_dispatch_holidays dh ON d.id = dh.dispatchID 
  AND h.id = dh.holidayID 
  LEFT JOIN (
    SELECT 
      dc.dispatchID 
    FROM 
      s_order_basket b 
      JOIN s_articles_categories_ro ac ON ac.articleID = b.articleID 
      JOIN s_premium_dispatch_categories dc ON dc.categoryID = ac.categoryID 
    WHERE 
      b.modus = 0 
      AND b.sessionID = '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717' 
    GROUP BY 
      dc.dispatchID
  ) as dk ON dk.dispatchID = d.id 
  LEFT JOIN s_user u ON u.id = b.userID 
  AND u.active = 1 
  LEFT JOIN s_user_addresses as ub ON ub.user_id = u.id 
  AND ub.id = : billingAddressId 
  LEFT JOIN s_user_addresses as us ON us.user_id = u.id 
  AND us.id = : shippingAddressId 
WHERE 
  d.active = 1 
  AND (
    (
      bind_time_from IS NULL 
      AND bind_time_to IS NULL
    ) 
    OR (
      IFNULL(bind_time_from, 0) <= IFNULL(bind_time_to, 86400) 
      AND TIME_TO_SEC(
        DATE_FORMAT(NOW(), '%H:%i:00')
      ) BETWEEN IFNULL(bind_time_from, 0) 
      AND IFNULL(bind_time_to, 86400)
    ) 
    OR (
      bind_time_from > bind_time_to 
      AND TIME_TO_SEC(
        DATE_FORMAT(NOW(), '%H:%i:00')
      ) NOT BETWEEN bind_time_to 
      AND bind_time_from
    )
  ) 
  AND (
    (
      bind_weekday_from IS NULL 
      AND bind_weekday_to IS NULL
    ) 
    OR (
      IFNULL(bind_weekday_from, 1) <= IFNULL(bind_weekday_to, 7) 
      AND REPLACE(
        WEEKDAY(NOW()), 
        0, 
        6
      )+ 1 BETWEEN IFNULL(bind_weekday_from, 1) 
      AND IFNULL(bind_weekday_to, 7)
    ) 
    OR (
      bind_weekday_from > bind_weekday_to 
      AND REPLACE(
        WEEKDAY(NOW()), 
        0, 
        6
      )+ 1 NOT BETWEEN bind_weekday_to 
      AND bind_weekday_from
    )
  ) 
  AND (
    bind_weight_from IS NULL 
    OR bind_weight_from <= b.weight
  ) 
  AND (
    bind_weight_to IS NULL 
    OR bind_weight_to >= b.weight
  ) 
  AND (
    bind_price_from IS NULL 
    OR bind_price_from <= b.amount
  ) 
  AND (
    bind_price_to IS NULL 
    OR bind_price_to >= b.amount
  ) 
  AND (
    bind_instock = 0 
    OR bind_instock IS NULL 
    OR (
      bind_instock = 1 
      AND b.instock
    ) 
    OR (
      bind_instock = 2 
      AND b.stockmin
    )
  ) 
  AND (
    bind_laststock = 0 
    OR (
      bind_laststock = 1 
      AND b.laststock
    )
  ) 
  AND (
    bind_shippingfree = 2 
    OR NOT b.shippingfree
  ) 
  AND dh.holidayID IS NULL 
  AND (
    d.multishopID IS NULL 
    OR d.multishopID = b.multishopID
  ) 
  AND (
    d.customergroupID IS NULL 
    OR d.customergroupID = b.customergroupID
  ) 
  AND dk.dispatchID IS NULL 
  AND d.type = 2 
  AND (
    d.shippingfree IS NULL 
    OR d.shippingfree > b.amount
  ) 
GROUP BY 
  d.id
array:2 [
  ":billingAddressId" => 0
  ":shippingAddressId" => 0
]
0.6368 ms
SELECT 
  id, 
  modus, 
  quantity 
FROM 
  s_order_basket 
WHERE 
  sessionID = ?
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0269 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'frontend/listing/facet_labels'
  ) 
  AND (shopID = '1') 
  AND (localeID = '1')
[]
0.0300 ms
SELECT 
  `s_core_snippets`.`name`, 
  `s_core_snippets`.`value` 
FROM 
  `s_core_snippets` 
WHERE 
  (
    namespace = 'frontend/listing/facet_labels'
  ) 
  AND (shopID = '1') 
  AND (localeID = '2')
[]
0.0241 ms
UPDATE 
  s_order_basket 
SET 
  quantity = ?, 
  price = ?, 
  netprice = ?, 
  currencyFactor = ?, 
  tax_rate = ? 
WHERE 
  id = ? 
  AND sessionID = ? 
  AND modus = 0
array:7 [
  1 => 1
  2 => 71.4
  3 => 60.0
  4 => 1.0
  5 => "19.00"
  6 => 2
  7 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.1571 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0429 ms
SELECT 
  basket.id 
FROM 
  s_order_basket basket 
  LEFT JOIN s_articles a ON a.id = basket.articleID 
  LEFT JOIN s_articles_details d ON d.id = a.main_detail_id 
  LEFT JOIN s_addon_premiums premium ON IF(
    a.configurator_set_id IS NULL, premium.ordernumber_export = basket.ordernumber, 
    premium.ordernumber = d.ordernumber
  ) 
  AND premium.startprice <= ? 
WHERE 
  basket.modus = 1 
  AND premium.id IS NULL 
  AND basket.sessionID = ?
array:2 [
  1 => 71.4
  2 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0260 ms
DELETE FROM 
  `s_order_basket` 
WHERE 
  (
    sessionID = '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717'
  ) 
  AND (modus = 3)
[]
0.1018 ms
SELECT 
  id basketID, 
  ordernumber, 
  articleID as voucherID 
FROM 
  s_order_basket 
WHERE 
  modus = 2 
  AND sessionID = ?
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0510 ms
DELETE FROM 
  `s_order_basket` 
WHERE 
  (
    sessionID = '584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717'
  ) 
  AND (ordernumber = 'sw-surcharge')
[]
0.1090 ms
SELECT 
  COUNT(*) 
FROM 
  s_order_basket 
WHERE 
  modus = 0 
  AND sessionID = ?
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0229 ms
SELECT 
  debit_percent 
FROM 
  s_core_paymentmeans 
WHERE 
  id = ?
array:1 [
  1 => 5
]
0.0191 ms
SELECT 
  basketdiscount, 
  basketdiscountstart 
FROM 
  s_core_customergroups_discounts 
WHERE 
  groupID = ? 
ORDER BY 
  basketdiscountstart ASC
array:1 [
  1 => "1"
]
0.0210 ms
DELETE FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND modus = 3
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0949 ms
SELECT 
  s_order_basket.*, 
  COALESCE (
    NULLIF(ad.packunit, ''), 
    mad.packunit
  ) AS packunit, 
  a.main_detail_id AS mainDetailId, 
  ad.id AS articleDetailId, 
  ad.minpurchase, 
  a.taxID, 
  ad.instock AS instock, 
  ad.suppliernumber, 
  ad.maxpurchase, 
  ad.purchasesteps, 
  ad.purchaseunit, 
  COALESCE (ad.unitID, mad.unitID) AS unitID, 
  ad.laststock, 
  ad.shippingtime, 
  ad.releasedate, 
  ad.releasedate AS sReleaseDate, 
  COALESCE (ad.ean, mad.ean) AS ean, 
  ad.stockmin, 
  s_order_basket_attributes.attribute1 as ob_attr1, 
  s_order_basket_attributes.attribute2 as ob_attr2, 
  s_order_basket_attributes.attribute3 as ob_attr3, 
  s_order_basket_attributes.attribute4 as ob_attr4, 
  s_order_basket_attributes.attribute5 as ob_attr5, 
  s_order_basket_attributes.attribute6 as ob_attr6 
FROM 
  s_order_basket 
  LEFT JOIN s_articles_details AS ad ON ad.ordernumber = s_order_basket.ordernumber 
  LEFT JOIN s_articles a ON (a.id = ad.articleID) 
  LEFT JOIN s_articles_details AS mad ON mad.id = a.main_detail_id 
  LEFT JOIN s_order_basket_attributes ON s_order_basket.id = s_order_basket_attributes.basketID 
WHERE 
  sessionID = ? 
ORDER BY 
  id ASC, 
  datum DESC
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0501 ms
SELECT 
  `id` 
FROM 
  `s_order_basket` 
WHERE 
  `sessionID` = ? 
  AND `modus` = 1
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0319 ms
SELECT 
  id, 
  esdarticle 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
  AND modus = 0 
ORDER BY 
  esdarticle DESC
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0319 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0272 ms
SELECT 
  p.ordernumber AS premium_ordernumber, 
  startprice, 
  subshopID, 
  a.id AS articleID, 
  a.main_detail_id 
FROM 
  s_addon_premiums p, 
  s_articles a, 
  s_articles_details d2 
WHERE 
  p.ordernumber = d2.ordernumber 
  AND d2.articleID = a.id 
  AND (
    p.subshopID = ? 
    OR p.subshopID = 0
  ) 
ORDER BY 
  p.startprice ASC
array:1 [
  1 => 1
]
0.0281 ms
SELECT 
  COUNT(*) 
FROM 
  s_order_basket 
WHERE 
  modus = 0 
  AND sessionID = ?
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0339 ms
SELECT 
  SUM(
    quantity *(
      floor(price * 100 +.55)/ 100
    )
  ) AS totalAmount 
FROM 
  s_order_basket 
WHERE 
  sessionID = ? 
GROUP BY 
  sessionID
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0279 ms
SELECT 
  * 
FROM 
  s_order_comparisons 
WHERE 
  sessionID = ?
array:1 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
]
0.0370 ms
SELECT 
  COUNT(*) 
FROM 
  s_order_notes n, 
  s_articles a 
WHERE 
  (
    sUniqueID = ? 
    OR (
      userID != 0 
      AND userID = ?
    )
  ) 
  AND a.id = n.articleID 
  AND a.active = 1
array:2 [
  1 => "584bc9d14016466128232f222d578ad67aa45a6793e3016e093fb58d9345b717"
  2 => 0
]
0.0360 ms
SELECT 
  `id` 
FROM 
  `s_core_config_elements` 
WHERE 
  `name` LIKE 'routerlastupdate'
[]
0.0720 ms
SELECT 
  v.value 
FROM 
  s_core_config_elements e, 
  s_core_config_values v 
WHERE 
  v.element_id = e.id 
  AND e.id = ? 
  AND v.shop_id = ?
array:2 [
  1 => "658"
  2 => 1
]
0.0339 ms