Queries
max count: 13
Query |
Count |
Min time |
Max time |
Average time |
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 3245 GROUP BY c.company_id
|
13 |
0.00023 |
0.00050 |
0.00027 |
SELECT COUNT(*) FROM cscart_products WHERE product_id = 3245
|
12 |
0.00013 |
0.03896 |
0.00342 |
SELECT gallery_id, placeholder, no_pagination FROM cscart_image_gallery_ext_settings WHERE placeholder <> '' AND status='A'
|
11 |
0.00013 |
0.00025 |
0.00018 |
SELECT id, placeholder, type, no_pagination FROM cscart_image_gallery_settings WHERE placeholder <> ''
|
11 |
0.00210 |
0.00215 |
0.00212 |
SELECT FOUND_ROWS()
|
11 |
0.00009 |
0.00014 |
0.00011 |
SELECT destination_id, rate_value, rate_type FROM cscart_tax_rates WHERE tax_id = 6 AND destination_id = 10
|
6 |
0.00012 |
0.00025 |
0.00017 |
SELECT cscart_sd_labels_custom.*, cscart_sd_labels_custom_descriptions.* FROM cscart_sd_labels_custom LEFT JOIN cscart_sd_labels_custom_descriptions ON cscart_sd_labels_custom_descriptions.label_code = cscart_sd_labels_custom.label_code AND cscart_sd_labels_custom_descriptions.lang_code = 'en' WHERE 1 AND cscart_sd_labels_custom.used = 'Y' ORDER BY cscart_sd_labels_custom_descriptions.name asc
|
4 |
0.00039 |
0.00045 |
0.00042 |
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 505 GROUP BY c.company_id LIMIT 2
|
3 |
0.00033 |
0.00035 |
0.00034 |
SELECT cscart_settings_objects.object_id as object_id, name, section_id, section_tab_id, type, position, is_global, cscart_settings_objects.name as description, IF(cscart_settings_vendor_values.value IS NULL, cscart_settings_objects.value, cscart_settings_vendor_values.value) as value FROM cscart_settings_objects LEFT JOIN cscart_settings_vendor_values ON cscart_settings_vendor_values.object_id = cscart_settings_objects.object_id AND company_id = 2 WHERE 1 AND section_id = '317' AND (FIND_IN_SET('ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_objects.edition_type)) AND cscart_settings_objects.type <> 'H' ORDER BY cscart_settings_objects.position
|
3 |
0.00080 |
0.00083 |
0.00082 |
SELECT * FROM cscart_settings_sections WHERE name = 'social_buttons' AND type = 'ADDON' AND (FIND_IN_SET('ROOT', cscart_settings_sections.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_sections.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_sections.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_sections.edition_type))
|
3 |
0.00022 |
0.00026 |
0.00024 |
SELECT cscart_languages.* FROM cscart_languages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_languages.lang_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'languages') WHERE 1 AND cscart_languages.status = 'A'
|
3 |
0.00022 |
0.00035 |
0.00029 |
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 3245 GROUP BY c.company_id LIMIT 2
|
3 |
0.00027 |
0.00030 |
0.00028 |
SELECT tax_id, address_type, priority, price_includes_tax, regnumber FROM cscart_taxes WHERE tax_id IN (6) AND status = 'A' ORDER BY priority
|
3 |
0.00017 |
0.00026 |
0.00023 |
DELETE FROM cscart_access_restriction WHERE (type = 'ipb' OR type = 'aab') AND expires < 1751344615
|
2 |
0.00013 |
0.00024 |
0.00018 |
SELECT COUNT(*) FROM cscart_access_restriction WHERE type='d' AND status = 'A'
|
2 |
0.00015 |
0.00024 |
0.00019 |
SELECT id_path FROM cscart_categories WHERE category_id IN (371)
|
2 |
0.00016 |
0.00019 |
0.00017 |
DELETE FROM cscart_access_restriction_block WHERE expires < 1751344615
|
2 |
0.00011 |
0.00017 |
0.00014 |
SELECT * FROM cscart_access_restriction_block WHERE ip >= 3628718252
|
2 |
0.00014 |
0.00036 |
0.00025 |
SELECT feature_id FROM cscart_product_features INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_features.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE feature_type = 'E' AND status = 'A'
|
2 |
0.00023 |
0.00024 |
0.00023 |
SELECT cscart_settings_objects.object_id as object_id, cscart_settings_objects.type as object_type, cscart_settings_objects.name as description, IF(cscart_settings_vendor_values.value IS NULL, cscart_settings_objects.value, cscart_settings_vendor_values.value) as value FROM cscart_settings_objects LEFT JOIN cscart_settings_vendor_values ON cscart_settings_vendor_values.object_id = cscart_settings_objects.object_id AND company_id = 2 WHERE 1 AND (FIND_IN_SET('ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_objects.edition_type)) AND cscart_settings_objects.object_id = 75 ORDER BY cscart_settings_objects.position
|
2 |
0.00029 |
0.00040 |
0.00035 |
SELECT object_id FROM cscart_settings_objects LEFT JOIN cscart_settings_sections ON cscart_settings_objects.section_id = cscart_settings_sections.section_id WHERE cscart_settings_objects.name = 'theme_name'
|
2 |
0.00041 |
0.00045 |
0.00043 |
SELECT * FROM cscart_image_gallery_settings WHERE id=505 AND type='P'
|
2 |
0.00018 |
0.00019 |
0.00019 |
SELECT a.* FROM cscart_destination_elements as a LEFT JOIN cscart_destinations as b ON b.destination_id = a.destination_id WHERE b.status = 'A'
|
2 |
0.01633 |
0.03895 |
0.02764 |
SELECT * FROM cscart_image_gallery_settings WHERE id=3245 AND type='P'
|
2 |
0.00016 |
0.00021 |
0.00019 |
SELECT COUNT(*) FROM cscart_countries WHERE code = 'SE' AND status = 'A'
|
2 |
0.00020 |
0.00022 |
0.00021 |
SELECT * FROM cscart_bm_layouts WHERE 1 AND cscart_bm_layouts.company_id = 2 AND layout_id = 10
|
2 |
0.00026 |
0.00033 |
0.00029 |
SELECT id_path FROM cscart_categories WHERE category_id IN (275, 277, 296, 371, 372, 387)
|
2 |
0.00039 |
0.00040 |
0.00040 |
SELECT variant FROM cscart_product_feature_variant_descriptions WHERE variant_id = 123 AND lang_code = 'en'
|
2 |
0.00020 |
0.00022 |
0.00021 |
SELECT a.item_id, b.reason FROM cscart_access_restriction as a LEFT JOIN cscart_access_restriction_reason_descriptions as b ON a.item_id = b.item_id AND a.type = b.type AND lang_code = 'en' WHERE ip_from <= 3628718252 AND ip_to >= 3628718252 AND a.type IN ('ips', 'ipr', 'ipb') AND status = 'A'
|
2 |
0.00021 |
0.00034 |
0.00028 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 258 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00028 |
0.00028 |
0.00028 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 258 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT cscart_categories.*, cscart_category_descriptions.*, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id AND cscart_category_descriptions.lang_code = 'en' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 258 AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = cscart_categories.company_id WHERE cscart_categories.category_id = 258 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.company_id = 2
|
1 |
0.00034 |
0.00034 |
0.00034 |
SELECT v.feature_id, v.value, v.value_int, v.variant_id, f.feature_type, fd.description, fd.prefix, fd.suffix, vd.variant, f.parent_id, f.position, gf.position as gposition FROM cscart_product_features as f LEFT JOIN cscart_product_features_values as v ON v.feature_id = f.feature_id LEFT JOIN cscart_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'en' LEFT JOIN cscart_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN cscart_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'en' LEFT JOIN cscart_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = f.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE f.status IN ('A') AND v.product_id = 505 AND f.display_on_header = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(258, f.categories_path) OR FIND_IN_SET(273, f.categories_path) OR FIND_IN_SET(275, f.categories_path) OR FIND_IN_SET(277, f.categories_path) OR FIND_IN_SET(296, f.categories_path) OR FIND_IN_SET(257, f.categories_path) OR FIND_IN_SET(280, f.categories_path) OR FIND_IN_SET(371, f.categories_path) OR FIND_IN_SET(372, f.categories_path) OR FIND_IN_SET(386, f.categories_path) OR FIND_IN_SET(259, f.categories_path) OR FIND_IN_SET(387, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM cscart_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'en' ORDER BY fd.description, fv.position
|
1 |
0.00073 |
0.00073 |
0.00073 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 273 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00036 |
0.00036 |
0.00036 |
SELECT * FROM cscart_product_sd_labels WHERE product_id = 505
|
1 |
0.00017 |
0.00017 |
0.00017 |
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position FROM cscart_product_features AS pf LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE pf.feature_type = 'G' AND (pf.feature_id IN ('') OR pf.feature_id NOT IN (SELECT parent_id FROM cscart_product_features)) AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(258, pf.categories_path) OR FIND_IN_SET(273, pf.categories_path) OR FIND_IN_SET(275, pf.categories_path) OR FIND_IN_SET(277, pf.categories_path) OR FIND_IN_SET(296, pf.categories_path) OR FIND_IN_SET(257, pf.categories_path) OR FIND_IN_SET(280, pf.categories_path) OR FIND_IN_SET(371, pf.categories_path) OR FIND_IN_SET(372, pf.categories_path) OR FIND_IN_SET(386, pf.categories_path) OR FIND_IN_SET(259, pf.categories_path) OR FIND_IN_SET(387, pf.categories_path) ) ORDER BY pf.position, cscart_product_features_descriptions.description
|
1 |
0.00084 |
0.00084 |
0.00084 |
SELECT cscart_product_files.*, cscart_product_file_descriptions.file_name, cscart_product_file_descriptions.license, cscart_product_file_descriptions.readme FROM cscart_product_files LEFT JOIN cscart_product_file_descriptions ON cscart_product_file_descriptions.file_id = cscart_product_files.file_id AND cscart_product_file_descriptions.lang_code = 'en' WHERE cscart_product_files.product_id = 3245 AND preview_path != '' AND cscart_product_files.status = 'A' ORDER BY position, file_name
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT *,cscart_product_tabs.status as status,cscart_product_tabs.block_id as block_id,cscart_product_tabs.company_id as company_id,cscart_product_tabs_descriptions.name as name FROM cscart_product_tabs LEFT JOIN cscart_product_tabs_descriptions ON cscart_product_tabs.tab_id = cscart_product_tabs_descriptions.tab_id LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_product_tabs.block_id WHERE cscart_product_tabs_descriptions.lang_code = 'en' AND cscart_product_tabs.company_id = 2 ORDER BY position
|
1 |
0.00074 |
0.00074 |
0.00074 |
SHOW COLUMNS FROM cscart_product_popularity
|
1 |
0.00052 |
0.00052 |
0.00052 |
INSERT INTO cscart_product_popularity (`product_id`, `viewed`, `total`) VALUES (3245, 1, 3) ON DUPLICATE KEY UPDATE viewed = viewed + 1, total = total + 3
|
1 |
0.00023 |
0.00023 |
0.00023 |
SELECT subscription_id FROM cscart_product_subscriptions WHERE product_id = 3245 AND user_id = 0
|
1 |
0.00013 |
0.00013 |
0.00013 |
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, groups.position AS group_position, cscart_product_features_values.value, cscart_product_features_values.variant_id, cscart_product_features_values.value_int FROM cscart_product_features AS pf LEFT JOIN cscart_product_features AS groups ON pf.parent_id = groups.feature_id LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'en' INNER JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = pf.feature_id AND cscart_product_features_values.product_id = 505 AND cscart_product_features_values.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE 1 AND pf.feature_type != 'G' AND pf.status IN ('A') AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(258, pf.categories_path) OR FIND_IN_SET(273, pf.categories_path) OR FIND_IN_SET(275, pf.categories_path) OR FIND_IN_SET(277, pf.categories_path) OR FIND_IN_SET(296, pf.categories_path) OR FIND_IN_SET(257, pf.categories_path) OR FIND_IN_SET(280, pf.categories_path) OR FIND_IN_SET(371, pf.categories_path) OR FIND_IN_SET(372, pf.categories_path) OR FIND_IN_SET(386, pf.categories_path) OR FIND_IN_SET(259, pf.categories_path) OR FIND_IN_SET(387, pf.categories_path) ) GROUP BY pf.feature_id ORDER BY group_position, pf.position, cscart_product_features_descriptions.description
|
1 |
0.00094 |
0.00094 |
0.00094 |
SELECT company_id FROM cscart_companies WHERE status = 'A' ORDER BY company_id LIMIT 1
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 273 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00028 |
0.00028 |
0.00028 |
SELECT prices.product_id, prices.lower_limit, usergroup_id, prices.percentage_discount, IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100) as price FROM cscart_ult_product_prices prices WHERE prices.product_id = 505 AND prices.company_id = 2 AND lower_limit > 1 AND prices.usergroup_id IN (0, 0, 1) ORDER BY lower_limit
|
1 |
0.00027 |
0.00027 |
0.00027 |
SELECT cscart_categories.*, cscart_category_descriptions.*, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id AND cscart_category_descriptions.lang_code = 'en' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 273 AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = cscart_categories.company_id WHERE cscart_categories.category_id = 273 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.company_id = 2
|
1 |
0.00034 |
0.00034 |
0.00034 |
SELECT category FROM cscart_category_descriptions WHERE category_id = 275 AND lang_code = 'en'
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT description FROM cscart_image_gallery_settings_description WHERE id = 505 AND lang_code = 'en' AND type = 'P'
|
1 |
0.00017 |
0.00017 |
0.00017 |
SELECT SQL_CALC_FOUND_ROWS cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'gallery' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 505 ORDER BY cscart_images_links.position DESC, cscart_images_links.pair_id DESC
|
1 |
0.00029 |
0.00029 |
0.00029 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'gallery' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 505 ORDER BY cscart_images_links.position DESC, cscart_images_links.pair_id
|
1 |
0.00033 |
0.00033 |
0.00033 |
SELECT gallery_id FROM cscart_image_gallery_ext_settings WHERE FIND_IN_SET(505, products)
|
1 |
0.00018 |
0.00018 |
0.00018 |
SELECT video_id, product_id, comment, youtube_link, position FROM cscart_ult_product_videos WHERE product_id = 505 AND company_id = 2 ORDER BY position
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT parent_id FROM cscart_categories WHERE category_id = 275
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT category FROM cscart_category_descriptions WHERE category_id = 273 AND lang_code = 'en'
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT variant_id FROM cscart_product_features_values WHERE feature_id = 30 AND product_id = 505 AND lang_code = 'en'
|
1 |
0.00054 |
0.00054 |
0.00054 |
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 505 GROUP BY c.company_id
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT s.title, d.descr FROM cscart_unit_price_descr d INNER JOIN cscart_unit_prices s ON s.unit_price_id = d.unit_price_id WHERE s.unit_price_id=6 AND d.lang_code='en' AND s.status='A'
|
1 |
0.00018 |
0.00018 |
0.00018 |
SELECT d.descr FROM cscart_aval_statuses_descr d INNER JOIN cscart_aval_statuses s ON s.aval_status_id = d.aval_status_id WHERE s.aval_status_id=10 AND d.lang_code='en' AND s.status='A'
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT a.*, b.option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'en' WHERE a.product_id IN (505) AND status = 'A' ORDER BY a.position
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT c.product_id AS cur_product_id, a.*, b.option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'en' LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id WHERE c.product_id IN (505) AND a.product_id = 0 AND status = 'A' ORDER BY a.position
|
1 |
0.00057 |
0.00057 |
0.00057 |
SELECT cscart_categories.*, cscart_category_descriptions.*, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id AND cscart_category_descriptions.lang_code = 'en' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 275 AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = cscart_categories.company_id WHERE cscart_categories.category_id = 275 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.company_id = 2
|
1 |
0.00032 |
0.00032 |
0.00032 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 275 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00031 |
0.00031 |
0.00031 |
SELECT * FROM cscart_ult_product_descriptions WHERE product_id = 505 AND company_id = 2 AND lang_code = 'en'
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 275 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00028 |
0.00028 |
0.00028 |
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'store_mode'
|
1 |
0.00017 |
0.00017 |
0.00017 |
SELECT cscart_attachments.*, cscart_attachment_descriptions.description FROM cscart_attachments LEFT JOIN cscart_attachment_descriptions ON cscart_attachments.attachment_id = cscart_attachment_descriptions.attachment_id AND lang_code = 'en' WHERE object_type = 'product' AND object_id = 3245 AND type = 'M' AND (usergroup_ids = '' OR FIND_IN_SET(0, usergroup_ids) OR FIND_IN_SET(1, usergroup_ids)) AND status = 'A' ORDER BY position
|
1 |
0.00038 |
0.00038 |
0.00038 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 47
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'cache_id'
|
1 |
0.00023 |
0.00023 |
0.00023 |
SELECT c.* FROM cscart_bm_containers as c WHERE 1 AND c.location_id = 431
|
1 |
0.00026 |
0.00026 |
0.00026 |
SELECT layout_id FROM cscart_bm_locations WHERE location_id = 431
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT c.*, IF (c.location_id != 431, 0, 1) as `default` FROM cscart_bm_containers as c INNER JOIN cscart_bm_locations as l ON c.location_id = l.location_id AND l.is_default = 1 AND l.layout_id = 10 WHERE 1 AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER')
|
1 |
0.00189 |
0.00189 |
0.00189 |
SELECT * FROM cscart_bm_containers as c LEFT JOIN cscart_bm_grids as g ON g.container_id = c.container_id WHERE 1 AND g.container_id IN (1530, 1531, 1572, 1533) ORDER BY g.order, g.parent_id, g.grid_id ASC
|
1 |
0.00054 |
0.00054 |
0.00054 |
SELECT cscart_bm_snapping.grid_id as grid_id,cscart_bm_snapping.block_id as block_id,IFNULL(dynamic_object_content.content, default_content.content) as content,IFNULL(dynamic_object_content.object_id, default_content.object_id) AS object_id,IFNULL(dynamic_object_content.object_type, default_content.object_type) AS object_type,cscart_bm_block_statuses.object_ids as object_ids,cscart_bm_snapping.*,cscart_bm_blocks.*,cscart_bm_blocks_descriptions.* FROM cscart_bm_snapping LEFT JOIN cscart_bm_blocks ON cscart_bm_blocks.block_id = cscart_bm_snapping.block_id LEFT JOIN cscart_bm_block_statuses ON cscart_bm_snapping.snapping_id = cscart_bm_block_statuses.snapping_id AND cscart_bm_block_statuses.object_type LIKE 'products' LEFT JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks.block_id = cscart_bm_blocks_descriptions.block_id LEFT JOIN cscart_bm_blocks_content AS default_content ON cscart_bm_blocks.block_id = default_content.block_id AND cscart_bm_blocks_descriptions.lang_code = default_content.lang_code AND default_content.snapping_id = 0 AND default_content.object_id = 0 AND default_content.object_type like '' LEFT JOIN cscart_bm_blocks_content AS dynamic_object_content ON cscart_bm_blocks.block_id = dynamic_object_content.block_id AND cscart_bm_blocks_descriptions.lang_code = dynamic_object_content.lang_code AND dynamic_object_content.object_id = 3245 AND dynamic_object_content.object_type like 'products' WHERE cscart_bm_snapping.grid_id IN (1958, 1959, 1960, 1961, 1962, 2001, 2002, 2004, 2003, 2005, 2045, 2050, 1964, 2052, 1965, 2051, 2210, 1945, 1947, 1956, 1950, 1948, 1952, 1957, 1955, 1949, 1953, 1946, 1954, 2207) AND cscart_bm_blocks_descriptions.lang_code='en' AND cscart_bm_blocks.company_id = 2 ORDER BY cscart_bm_snapping.order, cscart_bm_snapping.block_id
|
1 |
0.00238 |
0.00238 |
0.00238 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 3245 AND `type` = 'p' AND `dispatch` = '' AND `lang_code` = 'se' AND cscart_seo_names.company_id IN (0, 2)
|
1 |
0.00029 |
0.00029 |
0.00029 |
SELECT a.*, b.description FROM cscart_currencies as a LEFT JOIN cscart_currency_descriptions as b ON a.currency_code = b.currency_code AND lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = a.currency_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'currencies') WHERE 1 AND status IN ('A') ORDER BY a.position
|
1 |
0.00035 |
0.00035 |
0.00035 |
SELECT * FROM cscart_hybrid_auth_providers WHERE 1 AND company_id = 2 AND status = 'A' ORDER BY `position`;
|
1 |
0.00028 |
0.00028 |
0.00028 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 48
|
1 |
0.00020 |
0.00020 |
0.00020 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 572 AND `type` = 'p' AND `dispatch` = '' AND `lang_code` = 'en' AND cscart_seo_names.company_id IN (0, 2)
|
1 |
0.00023 |
0.00023 |
0.00023 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 51
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 2
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 2 AND `type` = 'a' AND `dispatch` = '' AND `lang_code` = 'en'
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 59
|
1 |
0.00021 |
0.00021 |
0.00021 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 61
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 43
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 62
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 62 AND `type` = 'a' AND `dispatch` = '' AND `lang_code` = 'en'
|
1 |
0.00024 |
0.00024 |
0.00024 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 64
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT COUNT(*) FROM cscart_pages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_pages.page_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'pages') WHERE page_id = 70
|
1 |
0.00028 |
0.00028 |
0.00028 |
SELECT privilege FROM cscart_usergroup_privileges WHERE usergroup_id IN(0, 1)
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 572 GROUP BY c.company_id
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, groups.position AS group_position, cscart_product_features_values.value, cscart_product_features_values.variant_id, cscart_product_features_values.value_int FROM cscart_product_features AS pf LEFT JOIN cscart_product_features AS groups ON pf.parent_id = groups.feature_id LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'en' LEFT JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = pf.feature_id AND cscart_product_features_values.product_id = 3245 AND cscart_product_features_values.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE 1 AND pf.feature_type != 'G' AND pf.feature_id IN (30) AND pf.status IN ('A') GROUP BY pf.feature_id ORDER BY group_position, pf.position, cscart_product_features_descriptions.description
|
1 |
0.00080 |
0.00080 |
0.00080 |
SELECT thread_id, type, object_type FROM cscart_discussion WHERE 1 AND object_id = 3245 AND object_type = 'P' AND cscart_discussion.company_id = 2
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT cscart_product_feature_variant_descriptions.*, cscart_product_feature_variants.*, cscart_product_features_values.variant_id as selected, cscart_product_features.feature_type, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_product_feature_variants LEFT JOIN cscart_product_feature_variant_descriptions ON cscart_product_feature_variant_descriptions.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_feature_variant_descriptions.lang_code = 'en' LEFT JOIN cscart_product_features_values ON cscart_product_features_values.variant_id = cscart_product_feature_variants.variant_id AND cscart_product_features_values.lang_code = 'en' AND cscart_product_features_values.product_id = 3245 LEFT JOIN cscart_product_features ON cscart_product_features.feature_id = cscart_product_feature_variants.feature_id LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = cscart_product_feature_variants.variant_id AND cscart_seo_names.type = 'e' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND ( cscart_seo_names.company_id = 2 OR cscart_seo_names.company_id = 0) WHERE 1 AND cscart_product_feature_variants.feature_id IN (30) GROUP BY cscart_product_feature_variants.variant_id ORDER BY cscart_product_feature_variants.position, cscart_product_feature_variant_descriptions.variant
|
1 |
0.00648 |
0.00648 |
0.00648 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (6243, 6288, 6289, 6300, 6278, 128, 130, 125, 5891, 129, 240, 6131, 5870, 126, 6124, 5771, 5890, 5893, 5773, 123, 212, 6223, 6221, 6222, 5936, 5937, 5933, 5935, 5892, 5938, 5932, 5894, 158) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00149 |
0.00149 |
0.00149 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (6243, 6288, 6289, 6300, 6278, 128, 130, 125, 5891, 129, 240, 6131, 5870, 126, 6124, 5771, 5890, 5893, 5773, 123, 212, 6223, 6221, 6222, 5936, 5937, 5933, 5935, 5892, 5938, 5932, 5894, 158) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00115 |
0.00115 |
0.00115 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 505 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00034 |
0.00034 |
0.00034 |
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position FROM cscart_product_features AS pf LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE pf.feature_type = 'G' AND (pf.feature_id IN ('') OR pf.feature_id NOT IN (SELECT parent_id FROM cscart_product_features)) ORDER BY pf.position, cscart_product_features_descriptions.description
|
1 |
0.00075 |
0.00075 |
0.00075 |
SELECT cscart_product_features.feature_id,cscart_product_features.feature_code,cscart_product_features.company_id,cscart_product_features.feature_type,cscart_product_features.parent_id,cscart_product_features.display_on_product,cscart_product_features.display_on_catalog,cscart_product_features.display_on_header,cscart_product_features_descriptions.description,cscart_product_features_descriptions.lang_code,cscart_product_features_descriptions.prefix,cscart_product_features_descriptions.suffix,cscart_product_features.categories_path,cscart_product_features_descriptions.full_description,cscart_product_features.status,cscart_product_features.comparison,cscart_product_features.position FROM cscart_product_features LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = cscart_product_features.feature_id AND cscart_product_features_descriptions.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_features.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE cscart_product_features.feature_id = 30
|
1 |
0.00027 |
0.00027 |
0.00027 |
SELECT COUNT(*) FROM cscart_categories WHERE category_id = 257 AND cscart_categories.company_id = 2
|
1 |
0.00018 |
0.00018 |
0.00018 |
SELECT COUNT(*) FROM cscart_categories WHERE category_id = 280 AND cscart_categories.company_id = 2
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT COUNT(*) FROM cscart_categories WHERE category_id = 371 AND cscart_categories.company_id = 2
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT thread_id, type, object_type, object_id FROM cscart_discussion WHERE thread_id = 994 AND cscart_discussion.company_id = 2
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT COUNT(*) FROM cscart_products WHERE product_id = 572
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT COUNT(*) FROM cscart_discussion_posts LEFT JOIN cscart_discussion_messages ON cscart_discussion_messages.post_id = cscart_discussion_posts.post_id LEFT JOIN cscart_discussion_rating ON cscart_discussion_rating.post_id = cscart_discussion_posts.post_id WHERE cscart_discussion_posts.thread_id = 994 AND cscart_discussion_posts.status = 'A'
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT cscart_discussion_posts.* , cscart_discussion_messages.message, cscart_discussion_rating.rating_value FROM cscart_discussion_posts LEFT JOIN cscart_discussion_messages ON cscart_discussion_messages.post_id = cscart_discussion_posts.post_id LEFT JOIN cscart_discussion_rating ON cscart_discussion_rating.post_id = cscart_discussion_posts.post_id WHERE cscart_discussion_posts.thread_id = 994 AND cscart_discussion_posts.status = 'A' ORDER BY cscart_discussion_posts.timestamp DESC LIMIT 0, 10
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT AVG(a.rating_value) as val FROM cscart_discussion_rating as a LEFT JOIN cscart_discussion_posts as b ON a.post_id = b.post_id WHERE a.thread_id = 994 AND b.status = 'A' AND a.rating_value > 0
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT c.category_id, IF(pc.link_type = 'M', 1, 0) as is_main FROM cscart_categories AS c LEFT JOIN cscart_products_categories AS pc ON c.category_id = pc.category_id WHERE pc.product_id = 3245 AND c.company_id = 2 ORDER BY is_main DESC
|
1 |
0.00025 |
0.00025 |
0.00025 |
SET @r = 0;
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT b.row FROM (SELECT product_id, @r := @r + 1 as row FROM(SELECT products.product_id FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'en' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id AND shared_descr.company_id = 2 AND shared_descr.lang_code = 'en' LEFT JOIN cscart_aval_statuses ON cscart_aval_statuses.aval_status_id = products.aval_status LEFT JOIN cscart_aval_statuses_descr ON cscart_aval_statuses.aval_status_id = cscart_aval_statuses_descr.aval_status_id AND cscart_aval_statuses.status='A' AND cscart_aval_statuses_descr.lang_code = 'en' LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = products.product_id WHERE 1 AND cscart_categories.category_id IN (371) AND cscart_categories.company_id = 2 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) GROUP BY products.product_id ORDER BY descr1.product asc) AS a) AS b WHERE b.product_id = 3245
|
1 |
0.00094 |
0.00094 |
0.00094 |
SELECT SQL_CALC_FOUND_ROWS products.product_id FROM cscart_products as products LEFT JOIN cscart_product_descriptions as descr1 ON descr1.product_id = products.product_id AND descr1.lang_code = 'en' LEFT JOIN cscart_product_prices as prices ON prices.product_id = products.product_id AND prices.lower_limit = 1 INNER JOIN cscart_products_categories as products_categories ON products_categories.product_id = products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = products_categories.category_id AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') LEFT JOIN cscart_ult_product_descriptions shared_descr ON shared_descr.product_id = products.product_id AND shared_descr.company_id = 2 AND shared_descr.lang_code = 'en' LEFT JOIN cscart_aval_statuses ON cscart_aval_statuses.aval_status_id = products.aval_status LEFT JOIN cscart_aval_statuses_descr ON cscart_aval_statuses.aval_status_id = cscart_aval_statuses_descr.aval_status_id AND cscart_aval_statuses.status='A' AND cscart_aval_statuses_descr.lang_code = 'en' LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = products.product_id WHERE 1 AND cscart_categories.category_id IN (371) AND cscart_categories.company_id = 2 AND (products.usergroup_ids = '' OR FIND_IN_SET(0, products.usergroup_ids) OR FIND_IN_SET(1, products.usergroup_ids)) AND products.status IN ('A') AND prices.usergroup_id IN (0, 0, 1) GROUP BY products.product_id ORDER BY descr1.product asc LIMIT 0, 12
|
1 |
0.00080 |
0.00080 |
0.00080 |
SELECT COUNT(*) FROM cscart_products WHERE product_id = 577
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT c.company_id FROM cscart_products_categories pc LEFT JOIN cscart_categories c ON c.category_id = pc.category_id WHERE pc.product_id = 577 GROUP BY c.company_id
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 577 AND `type` = 'p' AND `dispatch` = '' AND `lang_code` = 'en' AND cscart_seo_names.company_id IN (0, 2)
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT feature_id FROM cscart_product_features INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_product_features.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE feature_id IN (30) AND feature_type = 'E'
|
1 |
0.00027 |
0.00027 |
0.00027 |
SELECT cscart_promotions.*, cscart_promotion_descriptions.name, cscart_promotion_descriptions.detailed_description, cscart_promotion_descriptions.short_description FROM cscart_promotions LEFT JOIN cscart_promotion_descriptions ON cscart_promotion_descriptions.promotion_id = cscart_promotions.promotion_id AND cscart_promotion_descriptions.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_promotions.promotion_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'promotions') WHERE 1 AND IF(from_date, from_date <= 1751344615, 1) AND IF(to_date, to_date >= 1751344615, 1) AND status IN ('A', 'H') AND cscart_promotions.zone = 'catalog' ORDER BY cscart_promotions.priority asc
|
1 |
0.00080 |
0.00080 |
0.00080 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 505 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00042 |
0.00042 |
0.00042 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label5'
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT cscart_gdpr_tracking_codes.* FROM cscart_gdpr_tracking_codes WHERE cscart_gdpr_tracking_codes.enable = 'Y' ORDER BY position
|
1 |
0.00021 |
0.00021 |
0.00021 |
SELECT * FROM cscart_logos WHERE IF(layout_id = 0, 1, IF(layout_id = 10, 1, 0)) AND IF(style_id = '', 1, IF(style_id = 'Byggbay', 1, 0)) AND company_id = 2
|
1 |
0.00037 |
0.00037 |
0.00037 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'logos' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (78, 76, 79, 80) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00059 |
0.00059 |
0.00059 |
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'dev_mode'
|
1 |
0.00032 |
0.00032 |
0.00032 |
SELECT * FROM cscart_bm_locations as l LEFT JOIN cscart_bm_locations_descriptions as d ON d.location_id = l.location_id AND d.lang_code = 'en' WHERE l.layout_id = 10 AND l.dispatch = 'products.view' AND (FIND_IN_SET(3245, l.object_ids) OR l.object_ids = '') ORDER BY l.object_ids desc LIMIT 1
|
1 |
0.00034 |
0.00034 |
0.00034 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label7'
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label4'
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label10'
|
1 |
0.00018 |
0.00018 |
0.00018 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label3'
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT * FROM cscart_bm_layouts WHERE 1 AND cscart_bm_layouts.company_id = 2 AND is_default = 1 AND theme_name = 'responsive'
|
1 |
0.00042 |
0.00042 |
0.00042 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label1'
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label8'
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label9'
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label2'
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT IF(cscart_ult_language_values.value IS NULL, lang.value, cscart_ult_language_values.value) as value FROM cscart_language_values lang LEFT JOIN cscart_ult_language_values ON cscart_ult_language_values.name = lang.name AND company_id = 2 AND cscart_ult_language_values.lang_code = lang.lang_code WHERE lang.lang_code = 'en' AND lang.name = 'filter_description_label6'
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'jsonld_company_logo' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 2 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00038 |
0.00038 |
0.00038 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'jsonld_company_logo' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 2 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00035 |
0.00035 |
0.00035 |
SElECT usergroup_ids FROM cscart_products WHERE product_id = 3245
|
1 |
0.00026 |
0.00026 |
0.00026 |
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'cart_products_next_check'
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT companies.* FROM cscart_companies AS companies WHERE companies.company_id = 2
|
1 |
0.00041 |
0.00041 |
0.00041 |
SELECT cscart_products.*, cscart_product_descriptions.*, MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100)) as price, GROUP_CONCAT(IF(cscart_products_categories.link_type = 'M', CONCAT(cscart_products_categories.category_id, 'M'), cscart_products_categories.category_id)) as category_ids, popularity.total as popularity, IF(shared_prices.product_id IS NOT NULL,MIN(IF(shared_prices.percentage_discount = 0, shared_prices.price, shared_prices.price - (shared_prices.price * shared_prices.percentage_discount)/100)),MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100))) as price, companies.company as company_name, cscart_product_sales.amount as sales_amount, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path, cscart_discussion.type as discussion_type FROM cscart_products LEFT JOIN cscart_product_prices ON cscart_product_prices.product_id = cscart_products.product_id AND cscart_product_prices.lower_limit = 1 AND cscart_product_prices.usergroup_id IN (0, 0, 1) LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id AND cscart_product_descriptions.lang_code = 'en' LEFT JOIN cscart_ult_product_prices shared_prices ON shared_prices.product_id = cscart_products.product_id AND shared_prices.company_id = 2 AND shared_prices.lower_limit = 1 AND shared_prices.usergroup_id IN (0, 0, 1) LEFT JOIN cscart_companies as companies ON companies.company_id = cscart_products.company_id INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id AND cscart_categories.company_id = 2 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND (cscart_products.usergroup_ids = '' OR FIND_IN_SET(0, cscart_products.usergroup_ids) OR FIND_IN_SET(1, cscart_products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND cscart_products.status IN ('A', 'H') LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = cscart_products.product_id LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = cscart_products.product_id AND cscart_product_sales.category_id = 441 LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 3245 AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = 2 LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 2 WHERE cscart_products.product_id = 3245 AND (companies.status = 'A' OR cscart_products.company_id = 0) GROUP BY cscart_products.product_id
|
1 |
0.00114 |
0.00114 |
0.00114 |
SELECT company_id FROM cscart_companies WHERE 1 AND status IN ('A', 'P', 'N')
|
1 |
0.00017 |
0.00017 |
0.00017 |
SELECT cscart_settings_sections.name, cscart_settings_sections.section_id, cscart_settings_sections.position, cscart_settings_sections.type , cscart_settings_sections.name as description, CONCAT('settings.manage?section_id=', cscart_settings_sections.name) as href FROM cscart_settings_sections WHERE 1 AND (FIND_IN_SET('ROOT', cscart_settings_sections.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_sections.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_sections.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_sections.edition_type)) ORDER BY cscart_settings_sections.position
|
1 |
0.00062 |
0.00062 |
0.00062 |
SELECT object_id FROM cscart_settings_objects LEFT JOIN cscart_settings_sections ON cscart_settings_objects.section_id = cscart_settings_sections.section_id WHERE cscart_settings_objects.name = 'storage'
|
1 |
0.00027 |
0.00027 |
0.00027 |
SELECT cscart_settings_objects.object_id as object_id, cscart_settings_objects.type as object_type, cscart_settings_objects.name as description, cscart_settings_objects.value AS value FROM cscart_settings_objects WHERE 1 AND (FIND_IN_SET('ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_objects.edition_type)) AND cscart_settings_objects.object_id = 2725 ORDER BY cscart_settings_objects.position
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT object_id FROM cscart_settings_objects LEFT JOIN cscart_settings_sections ON cscart_settings_objects.section_id = cscart_settings_sections.section_id WHERE cscart_settings_objects.name = 'cdn'
|
1 |
0.00039 |
0.00039 |
0.00039 |
SELECT cscart_settings_objects.object_id as object_id, cscart_settings_objects.type as object_type, cscart_settings_objects.name as description, cscart_settings_objects.value AS value FROM cscart_settings_objects WHERE 1 AND (FIND_IN_SET('ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_objects.edition_type)) AND cscart_settings_objects.object_id = 294 ORDER BY cscart_settings_objects.position
|
1 |
0.00026 |
0.00026 |
0.00026 |
SELECT company_id, secure_storefront FROM cscart_companies WHERE secure_storefront RLIKE '^(www[0-9]*.)?byggbay.se'
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT company_id, storefront, secure_storefront, redirect_customer FROM cscart_companies WHERE company_id = 2
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT company_id FROM cscart_companies WHERE 1 AND company_id IN (2) AND status IN ('A', 'P', 'N')
|
1 |
0.00028 |
0.00028 |
0.00028 |
SELECT entry_page FROM cscart_companies WHERE company_id = 2 AND redirect_customer != 'Y'
|
1 |
0.00016 |
0.00016 |
0.00016 |
SELECT a.*, b.description FROM cscart_currencies as a LEFT JOIN cscart_currency_descriptions as b ON a.currency_code = b.currency_code AND lang_code = 'en' WHERE 1 AND a.is_primary = 'Y' ORDER BY a.position
|
1 |
0.00037 |
0.00037 |
0.00037 |
SET time_zone = '+02:00'
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT type FROM cscart_seo_names WHERE name = 'atlas-postar-80-fast-efficient-cement-floor' AND ( cscart_seo_names.company_id = 2 OR cscart_seo_names.company_id = 0)
|
1 |
0.00041 |
0.00041 |
0.00041 |
SELECT * FROM cscart_seo_names WHERE name = 'atlas-postar-80-fast-efficient-cement-floor' AND cscart_seo_names.company_id IN (0, 2) AND lang_code = 'se'
|
1 |
0.00063 |
0.00063 |
0.00063 |
SELECT * FROM cscart_seo_names WHERE name = 'atlas-postar-80-fast-efficient-cement-floor' AND ( cscart_seo_names.company_id = 2 OR cscart_seo_names.company_id = 0)
|
1 |
0.00049 |
0.00049 |
0.00049 |
SELECT cscart_languages.lang_code, cscart_languages.name FROM cscart_languages INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = cscart_languages.lang_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'languages') WHERE 1 AND cscart_languages.status = 'A'
|
1 |
0.00056 |
0.00056 |
0.00056 |
SELECT * FROM cscart_settings_sections WHERE name = 'seo' AND type = 'ADDON' AND (FIND_IN_SET('ROOT', cscart_settings_sections.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_sections.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_sections.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_sections.edition_type))
|
1 |
0.00050 |
0.00050 |
0.00050 |
SELECT cscart_settings_objects.object_id as object_id, name, section_id, section_tab_id, type, position, is_global, cscart_settings_objects.name as description, IF(cscart_settings_vendor_values.value IS NULL, cscart_settings_objects.value, cscart_settings_vendor_values.value) as value FROM cscart_settings_objects LEFT JOIN cscart_settings_vendor_values ON cscart_settings_vendor_values.object_id = cscart_settings_objects.object_id AND company_id = 2 WHERE 1 AND section_id = '287' AND (FIND_IN_SET('ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:ROOT', cscart_settings_objects.edition_type) OR FIND_IN_SET('VENDOR', cscart_settings_objects.edition_type) OR FIND_IN_SET('ULT:VENDOR', cscart_settings_objects.edition_type)) AND cscart_settings_objects.type <> 'H' ORDER BY cscart_settings_objects.position
|
1 |
0.00062 |
0.00062 |
0.00062 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 3245 AND `type` = 'p' AND `dispatch` = '' AND `lang_code` = 'en' AND cscart_seo_names.company_id IN (0, 2)
|
1 |
0.00069 |
0.00069 |
0.00069 |
SELECT a.*, b.description FROM cscart_currencies as a LEFT JOIN cscart_currency_descriptions as b ON a.currency_code = b.currency_code AND lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = a.currency_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'currencies') WHERE 1 AND status IN ('A', 'H') ORDER BY a.position
|
1 |
0.00063 |
0.00063 |
0.00063 |
SELECT category_id FROM cscart_products_categories WHERE product_id = 3245 AND link_type = 'M'
|
1 |
0.00021 |
0.00021 |
0.00021 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 3245 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00039 |
0.00039 |
0.00039 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 505 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00048 |
0.00048 |
0.00048 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 280 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00031 |
0.00031 |
0.00031 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (3245) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00035 |
0.00035 |
0.00035 |
SELECT a.*, b.option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'en' WHERE a.product_id IN (3245) AND status = 'A' ORDER BY a.position
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT c.product_id AS cur_product_id, a.*, b.option_name, b.option_text, b.description, b.inner_hint, b.incorrect_message, b.comment FROM cscart_product_options as a LEFT JOIN cscart_product_options_descriptions as b ON a.option_id = b.option_id AND b.lang_code = 'en' LEFT JOIN cscart_product_global_option_links as c ON c.option_id = a.option_id WHERE c.product_id IN (3245) AND a.product_id = 0 AND status = 'A' ORDER BY a.position
|
1 |
0.00054 |
0.00054 |
0.00054 |
SELECT cscart_categories.*, cscart_category_descriptions.*, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id AND cscart_category_descriptions.lang_code = 'en' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 371 AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = cscart_categories.company_id WHERE cscart_categories.category_id = 371 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.company_id = 2
|
1 |
0.00032 |
0.00032 |
0.00032 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 371 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00029 |
0.00029 |
0.00029 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 371 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00031 |
0.00031 |
0.00031 |
SELECT cscart_categories.*, cscart_category_descriptions.*, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id AND cscart_category_descriptions.lang_code = 'en' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 280 AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = cscart_categories.company_id WHERE cscart_categories.category_id = 280 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.company_id = 2
|
1 |
0.00034 |
0.00034 |
0.00034 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 280 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00027 |
0.00027 |
0.00027 |
SELECT cscart_categories.*, cscart_category_descriptions.*, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path FROM cscart_categories LEFT JOIN cscart_category_descriptions ON cscart_category_descriptions.category_id = cscart_categories.category_id AND cscart_category_descriptions.lang_code = 'en' LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 257 AND cscart_seo_names.type = 'c' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = cscart_categories.company_id WHERE cscart_categories.category_id = 257 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND cscart_categories.company_id = 2
|
1 |
0.00034 |
0.00034 |
0.00034 |
SELECT category_id, category FROM cscart_category_descriptions WHERE category_id IN (257, 280, 371) AND lang_code = 'en'
|
1 |
0.00021 |
0.00021 |
0.00021 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 257 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00029 |
0.00029 |
0.00029 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'category' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 257 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00031 |
0.00031 |
0.00031 |
SELECT addon FROM cscart_addons WHERE unmanaged = 1 AND status = 'A' ORDER BY priority
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT tax FROM cscart_tax_descriptions WHERE tax_id = 6 AND lang_code = 'en'
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT * FROM cscart_product_sd_labels WHERE product_id = 3245
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT cscart_products.tracking, cscart_products.amount, cscart_products.min_qty, cscart_products.max_qty, cscart_products.qty_step, cscart_products.list_qty_count, cscart_product_descriptions.product FROM cscart_products LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id AND lang_code = 'en' WHERE cscart_products.product_id = 3245
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT category_id FROM cscart_products_categories WHERE product_id = 505 AND link_type = 'M'
|
1 |
0.00022 |
0.00022 |
0.00022 |
SELECT cscart_products.*, cscart_product_descriptions.*, MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100)) as price, GROUP_CONCAT(IF(cscart_products_categories.link_type = 'M', CONCAT(cscart_products_categories.category_id, 'M'), cscart_products_categories.category_id)) as category_ids, popularity.total as popularity, IF(shared_prices.product_id IS NOT NULL,MIN(IF(shared_prices.percentage_discount = 0, shared_prices.price, shared_prices.price - (shared_prices.price * shared_prices.percentage_discount)/100)),MIN(IF(cscart_product_prices.percentage_discount = 0, cscart_product_prices.price, cscart_product_prices.price - (cscart_product_prices.price * cscart_product_prices.percentage_discount)/100))) as price, companies.company as company_name, cscart_product_sales.amount as sales_amount, cscart_seo_names.name as seo_name, cscart_seo_names.path as seo_path, cscart_discussion.type as discussion_type FROM cscart_products LEFT JOIN cscart_product_prices ON cscart_product_prices.product_id = cscart_products.product_id AND cscart_product_prices.lower_limit = 1 AND cscart_product_prices.usergroup_id IN (0, 0, 1) LEFT JOIN cscart_product_descriptions ON cscart_product_descriptions.product_id = cscart_products.product_id AND cscart_product_descriptions.lang_code = 'en' LEFT JOIN cscart_ult_product_prices shared_prices ON shared_prices.product_id = cscart_products.product_id AND shared_prices.company_id = 2 AND shared_prices.lower_limit = 1 AND shared_prices.usergroup_id IN (0, 0, 1) LEFT JOIN cscart_companies as companies ON companies.company_id = cscart_products.company_id INNER JOIN cscart_products_categories ON cscart_products_categories.product_id = cscart_products.product_id INNER JOIN cscart_categories ON cscart_categories.category_id = cscart_products_categories.category_id AND cscart_categories.company_id = 2 AND (cscart_categories.usergroup_ids = '' OR FIND_IN_SET(0, cscart_categories.usergroup_ids) OR FIND_IN_SET(1, cscart_categories.usergroup_ids)) AND (cscart_products.usergroup_ids = '' OR FIND_IN_SET(0, cscart_products.usergroup_ids) OR FIND_IN_SET(1, cscart_products.usergroup_ids)) AND cscart_categories.status IN ('A', 'H') AND cscart_products.status IN ('A', 'H') LEFT JOIN cscart_product_popularity as popularity ON popularity.product_id = cscart_products.product_id LEFT JOIN cscart_product_sales ON cscart_product_sales.product_id = cscart_products.product_id AND cscart_product_sales.category_id = 441 LEFT JOIN cscart_seo_names ON cscart_seo_names.object_id = 505 AND cscart_seo_names.type = 'p' AND cscart_seo_names.dispatch = '' AND cscart_seo_names.lang_code = 'en' AND cscart_seo_names.company_id = 2 LEFT JOIN cscart_discussion ON cscart_discussion.object_id = cscart_products.product_id AND cscart_discussion.object_type = 'P' AND cscart_discussion.company_id = 2 WHERE cscart_products.product_id = 505 AND (companies.status = 'A' OR cscart_products.company_id = 0) GROUP BY cscart_products.product_id
|
1 |
0.00119 |
0.00119 |
0.00119 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 505 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00038 |
0.00038 |
0.00038 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (3245) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00037 |
0.00037 |
0.00037 |
SELECT id_path FROM cscart_categories WHERE category_id = 371
|
1 |
0.00013 |
0.00013 |
0.00013 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id = 3245 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00033 |
0.00033 |
0.00033 |
SELECT description FROM cscart_image_gallery_settings_description WHERE id = 3245 AND lang_code = 'en' AND type = 'P'
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 3245 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00039 |
0.00039 |
0.00039 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'product' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 3245 ORDER BY cscart_images_links.position, cscart_images_links.pair_id
|
1 |
0.00037 |
0.00037 |
0.00037 |
SELECT prices.product_id, prices.lower_limit, usergroup_id, prices.percentage_discount, IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100) as price FROM cscart_product_prices prices WHERE prices.product_id = 3245 AND lower_limit > 1 AND prices.usergroup_id IN (0, 0, 1) ORDER BY lower_limit
|
1 |
0.00037 |
0.00037 |
0.00037 |
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position, groups.position AS group_position, cscart_product_features_values.value, cscart_product_features_values.variant_id, cscart_product_features_values.value_int FROM cscart_product_features AS pf LEFT JOIN cscart_product_features AS groups ON pf.parent_id = groups.feature_id LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'en' INNER JOIN cscart_product_features_values ON cscart_product_features_values.feature_id = pf.feature_id AND cscart_product_features_values.product_id = 3245 AND cscart_product_features_values.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE 1 AND pf.feature_type != 'G' AND pf.status IN ('A') AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(257, pf.categories_path) OR FIND_IN_SET(280, pf.categories_path) OR FIND_IN_SET(371, pf.categories_path) ) GROUP BY pf.feature_id ORDER BY group_position, pf.position, cscart_product_features_descriptions.description
|
1 |
0.00110 |
0.00110 |
0.00110 |
SELECT pf.feature_id, pf.company_id, pf.feature_type, pf.parent_id, pf.display_on_product, pf.display_on_catalog, pf.display_on_header, cscart_product_features_descriptions.description, cscart_product_features_descriptions.lang_code, cscart_product_features_descriptions.prefix, cscart_product_features_descriptions.suffix, pf.categories_path, cscart_product_features_descriptions.full_description, pf.status, pf.comparison, pf.position FROM cscart_product_features AS pf LEFT JOIN cscart_product_features_descriptions ON cscart_product_features_descriptions.feature_id = pf.feature_id AND cscart_product_features_descriptions.lang_code = 'en' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = pf.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE pf.feature_type = 'G' AND (pf.feature_id IN ('') OR pf.feature_id NOT IN (SELECT parent_id FROM cscart_product_features)) AND pf.display_on_product = 'Y' AND ( pf.categories_path = '' OR ISNULL(pf.categories_path)OR FIND_IN_SET(257, pf.categories_path) OR FIND_IN_SET(280, pf.categories_path) OR FIND_IN_SET(371, pf.categories_path) ) ORDER BY pf.position, cscart_product_features_descriptions.description
|
1 |
0.00077 |
0.00077 |
0.00077 |
SELECT v.feature_id, v.value, v.value_int, v.variant_id, f.feature_type, fd.description, fd.prefix, fd.suffix, vd.variant, f.parent_id, f.position, gf.position as gposition FROM cscart_product_features as f LEFT JOIN cscart_product_features_values as v ON v.feature_id = f.feature_id LEFT JOIN cscart_product_features_descriptions as fd ON fd.feature_id = v.feature_id AND fd.lang_code = 'en' LEFT JOIN cscart_product_feature_variants fv ON fv.variant_id = v.variant_id LEFT JOIN cscart_product_feature_variant_descriptions as vd ON vd.variant_id = fv.variant_id AND vd.lang_code = 'en' LEFT JOIN cscart_product_features as gf ON gf.feature_id = f.parent_id AND gf.feature_type = 'G' INNER JOIN cscart_ult_objects_sharing ON (cscart_ult_objects_sharing.share_object_id = f.feature_id AND cscart_ult_objects_sharing.share_company_id = 2 AND cscart_ult_objects_sharing.share_object_type = 'product_features') WHERE f.status IN ('A') AND v.product_id = 3245 AND f.display_on_header = 'Y' AND ( f.categories_path = '' OR FIND_IN_SET(257, f.categories_path) OR FIND_IN_SET(280, f.categories_path) OR FIND_IN_SET(371, f.categories_path) ) AND IF(f.parent_id, (SELECT status FROM cscart_product_features as df WHERE df.feature_id = f.parent_id), 'A') IN ('A') AND ( v.variant_id != 0 OR (f.feature_type != 'C' AND v.value != '') OR (f.feature_type = 'C') OR v.value_int != '') AND v.lang_code = 'en' ORDER BY fd.description, fv.position
|
1 |
0.00083 |
0.00083 |
0.00083 |
SELECT * FROM cscart_ult_product_descriptions WHERE product_id = 3245 AND company_id = 2 AND lang_code = 'en'
|
1 |
0.00030 |
0.00030 |
0.00030 |
SELECT prices.product_id, prices.lower_limit, usergroup_id, prices.percentage_discount, IF(prices.percentage_discount = 0, prices.price, prices.price - (prices.price * prices.percentage_discount)/100) as price FROM cscart_ult_product_prices prices WHERE prices.product_id = 3245 AND prices.company_id = 2 AND lower_limit > 1 AND prices.usergroup_id IN (0, 0, 1) ORDER BY lower_limit
|
1 |
0.00025 |
0.00025 |
0.00025 |
SELECT SQL_CALC_FOUND_ROWS cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'gallery' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 3245 ORDER BY cscart_images_links.position DESC, cscart_images_links.pair_id DESC
|
1 |
0.00027 |
0.00027 |
0.00027 |
SELECT d.descr FROM cscart_aval_statuses_descr d INNER JOIN cscart_aval_statuses s ON s.aval_status_id = d.aval_status_id WHERE s.aval_status_id=106 AND d.lang_code='en' AND s.status='A'
|
1 |
0.00023 |
0.00023 |
0.00023 |
SELECT cscart_images_links.*, cscart_images.image_path, cscart_common_descriptions.description AS alt, cscart_images.image_x, cscart_images.image_y, cscart_images.image_id as images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'gallery' AND cscart_images_links.type = 'A' AND cscart_images_links.object_id = 3245 ORDER BY cscart_images_links.position DESC, cscart_images_links.pair_id
|
1 |
0.00036 |
0.00036 |
0.00036 |
SELECT gallery_id FROM cscart_image_gallery_ext_settings WHERE FIND_IN_SET(3245, products)
|
1 |
0.00019 |
0.00019 |
0.00019 |
SELECT video_id, product_id, comment, youtube_link, position FROM cscart_ult_product_videos WHERE product_id = 3245 AND company_id = 2 ORDER BY position
|
1 |
0.00024 |
0.00024 |
0.00024 |
SELECT parent_id FROM cscart_categories WHERE category_id = 371
|
1 |
0.00015 |
0.00015 |
0.00015 |
SELECT category FROM cscart_category_descriptions WHERE category_id = 280 AND lang_code = 'en'
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT category FROM cscart_category_descriptions WHERE category_id = 371 AND lang_code = 'en'
|
1 |
0.00014 |
0.00014 |
0.00014 |
SELECT company FROM cscart_companies WHERE company_id = 1
|
1 |
0.00012 |
0.00012 |
0.00012 |
SELECT variant_id FROM cscart_product_features_values WHERE feature_id = 30 AND product_id = 3245 AND lang_code = 'en'
|
1 |
0.00054 |
0.00054 |
0.00054 |
SELECT s.title, d.descr FROM cscart_unit_price_descr d INNER JOIN cscart_unit_prices s ON s.unit_price_id = d.unit_price_id WHERE s.unit_price_id=5 AND d.lang_code='en' AND s.status='A'
|
1 |
0.00018 |
0.00018 |
0.00018 |
SELECT name, path FROM cscart_seo_names WHERE `object_id` = 70 AND `type` = 'a' AND `dispatch` = '' AND `lang_code` = 'en'
|
1 |
0.00028 |
0.00028 |
0.00028 |