Queries total time: 0.05792 s.
Query Time
50
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 '' 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 = 0 AND dynamic_object_content.object_type like '' WHERE cscart_bm_snapping.grid_id IN (3624, 3625, 3626, 3627, 3630, 3629, 3628, 3645, 3646, 3650, 3654, 3656, 3658, 3660, 3762, 3763, 3647, 3652, 3764, 3765, 3648, 3761, 6971, 7025, 3766, 6972, 6973, 3651, 6974, 3649, 3653, 3655, 3657, 3659, 3661, 3662, 3663, 3664, 7003, 7002, 7004, 7005, 7008, 7007, 7006, 7001, 6998, 6583, 3621, 6987, 3622, 7027, 6986, 3623, 6988, 3619, 3620)  AND cscart_bm_blocks_descriptions.lang_code='fa'  AND cscart_bm_blocks.company_id = 6 ORDER BY cscart_bm_snapping.order, cscart_bm_snapping.block_id 
0.00759
49
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 (2837, 2838, 2843, 2844) ORDER BY g.order, g.parent_id, g.grid_id ASC
0.00187
48
SELECT c.*, IF (c.location_id != 711, 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 = 40 WHERE 1  AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER')
0.01388
47
SELECT layout_id FROM cscart_bm_locations WHERE location_id = 711
0.00061
46
SELECT c.* FROM cscart_bm_containers as c  WHERE 1  AND c.location_id = 711
0.00271
45
SELECT * FROM cscart_bm_layouts WHERE 1  AND cscart_bm_layouts.company_id = 6 AND layout_id = 40
0.00075
44
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'cache_id'
0.00066
43
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 = 6 AND cscart_ult_objects_sharing.share_object_type = 'languages') WHERE 1 AND cscart_languages.status = 'A' 
0.00063
42
SELECT privilege FROM cscart_usergroup_privileges WHERE usergroup_id IN(0, 1)
0.00052
41
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 = 'fa' WHERE l.layout_id = 40  AND l.dispatch = 'index.index'  ORDER BY l.object_ids desc  LIMIT 1
0.00153
40
SELECT * FROM cscart_bm_layouts WHERE 1  AND cscart_bm_layouts.company_id = 6 AND layout_id = 40
0.00061
39
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 13
0.00054
38
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 7
0.00056
37
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 1
0.00060
36
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 12
0.00052
35
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 6
0.00059
34
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 8
0.00061
33
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 5
0.00060
32
SELECT * FROM cscart_se_settings
0.00071
31

                SELECT c.company_id, c.storefront, c.email, l.name, l.lang_code
                FROM cscart_languages as l
                INNER JOIN cscart_ult_objects_sharing as s ON (s.share_object_id = l.lang_id AND s.share_object_type = 'languages')
                LEFT JOIN cscart_companies as c ON c.company_id = s.share_company_id WHERE c.status = 'A' AND l.status = 'A' ORDER BY l.lang_code = 'fa' DESC
0.00107
30
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 = 6  WHERE 1  AND section_id = '47' 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
0.00097
29
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))
0.00065
28
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'dev_mode'
0.00046
27
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 = 'fa' WHERE cscart_images_links.object_type = 'logos' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (108, 148, 149, 150) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
0.00128
26
SELECT * FROM cscart_logos WHERE IF(layout_id = 0, 1, IF(layout_id = 40, 1, 0)) AND IF(style_id = '', 1, IF(style_id = 'Marina', 1, 0))  AND company_id = 6
0.00100
25
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'cart_products_next_check'
0.00049
24
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 = 6  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
0.00064
23
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' 
0.00059
22
SELECT * FROM cscart_bm_layouts WHERE 1  AND cscart_bm_layouts.company_id = 6 AND is_default = 1 AND theme_name = 'coolbaby'
0.00063
21
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 = 6  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
0.00072
20
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' 
0.00065
19
SELECT companies.* FROM cscart_companies AS companies  WHERE companies.company_id = 6 
0.00064
18
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 = 'fa' 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 = 6 AND cscart_ult_objects_sharing.share_object_type = 'currencies') WHERE 1  AND status IN ('A', 'H') ORDER BY a.position
0.00097
17
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 = 6 AND cscart_ult_objects_sharing.share_object_type = 'languages') WHERE 1 AND cscart_languages.status = 'A' 
0.00072
16
SELECT * FROM cscart_mobile_admin_app_stores WHERE type = 'C'
0.00056
15
SELECT * FROM cscart_mobile_admin_app_stores WHERE type = 'A'
0.00064
14
SELECT * FROM cscart_mobile_admin_app_settings
0.00067
13
SET time_zone = '+04:30'
0.00049
12
SELECT entry_page FROM cscart_companies WHERE company_id = 6 AND redirect_customer != 'Y'
0.00052
11
SELECT company_id FROM cscart_companies WHERE 1  AND status IN ('A', 'P', 'N')
0.00051
10
SELECT company_id FROM cscart_companies WHERE 1  AND company_id IN (6) AND status IN ('A', 'P', 'N')
0.00051
9
SELECT company_id, storefront, secure_storefront, redirect_customer FROM cscart_companies WHERE company_id = 6
0.00048
8
SELECT company_id, secure_storefront FROM cscart_companies WHERE secure_storefront RLIKE '^(www[0-9]*.)?shop.daewoo.ir'
0.00063
7
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
0.00057
6
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' 
0.00062
5
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 = 291 ORDER BY cscart_settings_objects.position
0.00063
4
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' 
0.00110
3
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
0.00106
2
SELECT addon FROM cscart_addons WHERE unmanaged = 1 AND status = 'A' ORDER BY priority
0.00061
1
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'store_mode'
0.00074

Warning Some queries are being executed multiple times

Queries max count: 2
Query Count Min time Max time Average time
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.00059 0.00065 0.00062
SELECT * FROM cscart_bm_layouts WHERE 1  AND cscart_bm_layouts.company_id = 6 AND layout_id = 40
2 0.00061 0.00075 0.00068
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 = 6 AND cscart_ult_objects_sharing.share_object_type = 'languages') WHERE 1 AND cscart_languages.status = 'A' 
2 0.00063 0.00072 0.00068
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 = 6  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.00064 0.00072 0.00068
SELECT entry_page FROM cscart_companies WHERE company_id = 6 AND redirect_customer != 'Y'
1 0.00052 0.00052 0.00052
SELECT * FROM cscart_bm_layouts WHERE 1  AND cscart_bm_layouts.company_id = 6 AND is_default = 1 AND theme_name = 'coolbaby'
1 0.00063 0.00063 0.00063
SELECT companies.* FROM cscart_companies AS companies  WHERE companies.company_id = 6 
1 0.00064 0.00064 0.00064
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 = 'fa' 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 = 6 AND cscart_ult_objects_sharing.share_object_type = 'currencies') WHERE 1  AND status IN ('A', 'H') ORDER BY a.position
1 0.00097 0.00097 0.00097
SELECT * FROM cscart_mobile_admin_app_stores WHERE type = 'C'
1 0.00056 0.00056 0.00056
SELECT * FROM cscart_mobile_admin_app_stores WHERE type = 'A'
1 0.00064 0.00064 0.00064
SELECT * FROM cscart_mobile_admin_app_settings
1 0.00067 0.00067 0.00067
SET time_zone = '+04:30'
1 0.00049 0.00049 0.00049
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 '' 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 = 0 AND dynamic_object_content.object_type like '' WHERE cscart_bm_snapping.grid_id IN (3624, 3625, 3626, 3627, 3630, 3629, 3628, 3645, 3646, 3650, 3654, 3656, 3658, 3660, 3762, 3763, 3647, 3652, 3764, 3765, 3648, 3761, 6971, 7025, 3766, 6972, 6973, 3651, 6974, 3649, 3653, 3655, 3657, 3659, 3661, 3662, 3663, 3664, 7003, 7002, 7004, 7005, 7008, 7007, 7006, 7001, 6998, 6583, 3621, 6987, 3622, 7027, 6986, 3623, 6988, 3619, 3620)  AND cscart_bm_blocks_descriptions.lang_code='fa'  AND cscart_bm_blocks.company_id = 6 ORDER BY cscart_bm_snapping.order, cscart_bm_snapping.block_id 
1 0.00759 0.00759 0.00759
SELECT company_id FROM cscart_companies WHERE 1  AND status IN ('A', 'P', 'N')
1 0.00051 0.00051 0.00051
SELECT company_id FROM cscart_companies WHERE 1  AND company_id IN (6) AND status IN ('A', 'P', 'N')
1 0.00051 0.00051 0.00051
SELECT company_id, secure_storefront FROM cscart_companies WHERE secure_storefront RLIKE '^(www[0-9]*.)?shop.daewoo.ir'
1 0.00063 0.00063 0.00063
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.00057 0.00057 0.00057
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.00062 0.00062 0.00062
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 = 291 ORDER BY cscart_settings_objects.position
1 0.00063 0.00063 0.00063
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.00110 0.00110 0.00110
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.00106 0.00106 0.00106
SELECT addon FROM cscart_addons WHERE unmanaged = 1 AND status = 'A' ORDER BY priority
1 0.00061 0.00061 0.00061
SELECT company_id, storefront, secure_storefront, redirect_customer FROM cscart_companies WHERE company_id = 6
1 0.00048 0.00048 0.00048
SELECT * FROM cscart_logos WHERE IF(layout_id = 0, 1, IF(layout_id = 40, 1, 0)) AND IF(style_id = '', 1, IF(style_id = 'Marina', 1, 0))  AND company_id = 6
1 0.00100 0.00100 0.00100
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'cart_products_next_check'
1 0.00049 0.00049 0.00049
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 1
1 0.00060 0.00060 0.00060
SELECT c.*, IF (c.location_id != 711, 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 = 40 WHERE 1  AND c.position IN ('TOP_PANEL', 'HEADER', 'FOOTER')
1 0.01388 0.01388 0.01388
SELECT layout_id FROM cscart_bm_locations WHERE location_id = 711
1 0.00061 0.00061 0.00061
SELECT c.* FROM cscart_bm_containers as c  WHERE 1  AND c.location_id = 711
1 0.00271 0.00271 0.00271
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'cache_id'
1 0.00066 0.00066 0.00066
SELECT privilege FROM cscart_usergroup_privileges WHERE usergroup_id IN(0, 1)
1 0.00052 0.00052 0.00052
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 = 'fa' WHERE l.layout_id = 40  AND l.dispatch = 'index.index'  ORDER BY l.object_ids desc  LIMIT 1
1 0.00153 0.00153 0.00153
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 13
1 0.00054 0.00054 0.00054
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 7
1 0.00056 0.00056 0.00056
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 12
1 0.00052 0.00052 0.00052
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 (2837, 2838, 2843, 2844) ORDER BY g.order, g.parent_id, g.grid_id ASC
1 0.00187 0.00187 0.00187
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 6
1 0.00059 0.00059 0.00059
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 8
1 0.00061 0.00061 0.00061
SELECT lang_code, value FROM cscart_se_settings WHERE name = 'parent_private_key' AND company_id = 5
1 0.00060 0.00060 0.00060
SELECT * FROM cscart_se_settings
1 0.00071 0.00071 0.00071

                SELECT c.company_id, c.storefront, c.email, l.name, l.lang_code
                FROM cscart_languages as l
                INNER JOIN cscart_ult_objects_sharing as s ON (s.share_object_id = l.lang_id AND s.share_object_type = 'languages')
                LEFT JOIN cscart_companies as c ON c.company_id = s.share_company_id WHERE c.status = 'A' AND l.status = 'A' ORDER BY l.lang_code = 'fa' DESC
1 0.00107 0.00107 0.00107
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 = 6  WHERE 1  AND section_id = '47' 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.00097 0.00097 0.00097
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.00065 0.00065 0.00065
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'dev_mode'
1 0.00046 0.00046 0.00046
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 = 'fa' WHERE cscart_images_links.object_type = 'logos' AND cscart_images_links.type = 'M' AND cscart_images_links.object_id IN (108, 148, 149, 150) ORDER BY cscart_images_links.position, cscart_images_links.pair_id
1 0.00128 0.00128 0.00128
SELECT `data` FROM cscart_storage_data WHERE `data_key` = 'store_mode'
1 0.00074 0.00074 0.00074