[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000881s ]
[ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775893834 and b.endtime > 1775893834 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(10, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [ RunTime:0.001838s ]
[ SQL ] select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (24,23,16,14) group by binary(p.name), binary(p1.name); [ RunTime:0.001973s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.000871s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775893834 and b.endtime > 1775893834 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(10, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [ RunTime:0.001564s ]
[ SQL ] SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775893834 and b.endtime > 1775893834 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(10, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [ RunTime:0.001514s ]
[ SQL ] SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (24,23,16,14) ) AND `discuss`.`deletetime` IS NULL [ RunTime:0.001109s ]
[ SQL ] SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (24,23,16,14) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [ RunTime:0.001159s ]
[ SQL ] SELECT * FROM `activity` WHERE ( ( 1775893834 > starttime && 1775893834 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [ RunTime:0.001045s ]
[ SQL ] set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [ RunTime:0.001071s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [ RunTime:0.001170s ]
[ SQL ] SELECT `id` FROM `category` WHERE `path` = 'metal-plate-10' LIMIT 1 [ RunTime:0.001225s ]
[ SQL ] select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 10
and p.status = "up" and p.deletetime is null limit 40 [ RunTime:0.001594s ]
[ SQL ] SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [ RunTime:0.001441s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [ RunTime:0.001023s ]
[ SQL ] SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [ RunTime:0.001068s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.001100s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000971s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [ RunTime:0.001075s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.001038s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [ RunTime:0.001085s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.000996s ]
[ SQL ] SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [ RunTime:0.000937s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [ RunTime:0.001037s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.000962s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [ RunTime:0.000924s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [ RunTime:0.001153s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [ RunTime:0.001013s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000994s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [ RunTime:0.001176s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.000964s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [ RunTime:0.001199s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.001115s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [ RunTime:0.001136s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [ RunTime:0.001001s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.001203s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [ RunTime:0.001275s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.001262s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [ RunTime:0.001203s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.001490s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [ RunTime:0.001251s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [ RunTime:0.001107s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [ RunTime:0.001180s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001289s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.001011s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001008s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.001221s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.001006s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.000916s ]
[ SQL ] SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [ RunTime:0.000952s ]
[ SQL ] SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [ RunTime:0.001169s ]
2/63 . select p.name,p1.name cname from product_sku as p left join product_sku as p1
on p1.pid = p.id where p.pid = 0 and p.product_id in (24,23,16,14) group by binary(p.name), binary(p1.name); [0.001973s/0.073316s=2.69%]
3/63 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775893834 and b.endtime > 1775893834 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(10, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc, id desc [0.001838s/0.073316s=2.51%]
4/63 . select p.id,title ,price from product_category_relation as pcr left join product as p on p.id = pcr.product_id where pcr.category_id = 10
and p.status = "up" and p.deletetime is null limit 40 [0.001594s/0.073316s=2.17%]
5/63 . SELECT COUNT(*) AS tp_count FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775893834 and b.endtime > 1775893834 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(10, category_ids) ) ) ) AND `p`.`deletetime` IS NULL LIMIT 1 [0.001564s/0.073316s=2.13%]
6/63 . SELECT p.id,p.type,p.title,p.subtitle,p.supplier,p.status,p.audit_status,p.audit_reject_times,p.auto_shelves_after_audit,p.is_tax,p.weigh,p.category_ids,p.product_tag_ids,p.product_tag_names,p.image,p.images,p.params,p.price,p.original_price,p.is_sku,p.likes,p.views,p.sales,p.size_country,p.size_guide,p.marketing_size_guide_id,p.show_sales,p.service_ids,p.shipping_type,p.shipping_ids,p.is_custom,p.is_custom_plus,p.custom_config,p.draft_product_id,p.seotitle,p.keywords,p.description,p.path,p.is_tob_sku,p.createtime,p.updatetime,p.deletetime,p.lang,(p.sales + p.show_sales) as total_sales,ifnull(y.price, p.price) price1 FROM `product` `p` LEFT JOIN (select min(price) price,product_id from ( SELECT `a`.`price`,`a`.`product_id` FROM `activity_product_sku_price` `a` INNER JOIN `activity` `b` ON `b`.`id`=a.activity_id and a.status = 'up' and b.deletetime is null and b.starttime < 1775893834 and b.endtime > 1775893834 WHERE `a`.`deletetime` IS NULL ) `t` group by `t`.`product_id`) `y` ON `y`.`product_id`=`p`.`id` WHERE ( `p`.`status` IN ('up') AND ( ( find_in_set(10, category_ids) ) ) ) AND `p`.`deletetime` IS NULL ORDER BY weigh desc,id desc LIMIT 0,12 [0.001514s/0.073316s=2.07%]
7/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.001490s/0.073316s=2.03%]
8/63 . SELECT `value` FROM `config` WHERE `name` = 'klaviyo_config' LIMIT 1 [0.001441s/0.073316s=1.97%]
9/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001289s/0.073316s=1.76%]
10/63 . SELECT `value` FROM `config` WHERE `name` = 'customer_login_config' LIMIT 1 [0.001279s/0.073316s=1.74%]
11/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [0.001275s/0.073316s=1.74%]
12/63 . SELECT * FROM `payment` WHERE `status` = '1' ORDER BY `weigh` DESC,`id` ASC [0.001274s/0.073316s=1.74%]
13/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.001262s/0.073316s=1.72%]
14/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [0.001251s/0.073316s=1.71%]
15/63 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'access_control' AND `is_installed` = 1 LIMIT 1 [0.001242s/0.073316s=1.69%]
16/63 . SELECT `id` FROM `category` WHERE `path` = 'metal-plate-10' LIMIT 1 [0.001225s/0.073316s=1.67%]
17/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.001221s/0.073316s=1.67%]
18/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.001203s/0.073316s=1.64%]
19/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [0.001203s/0.073316s=1.64%]
20/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [0.001199s/0.073316s=1.64%]
21/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [0.001180s/0.073316s=1.61%]
22/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [0.001176s/0.073316s=1.60%]
23/63 . SELECT `value` FROM `config` WHERE `name` = 'product_review' LIMIT 1 [0.001170s/0.073316s=1.60%]
24/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.001169s/0.073316s=1.59%]
25/63 . SELECT * FROM `product_sku_price` WHERE ( `product_id` IN (24,23,16,14) ) AND `product_sku_price`.`deletetime` IS NULL ORDER BY `weigh` ASC,`id` ASC [0.001159s/0.073316s=1.58%]
26/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.001153s/0.073316s=1.57%]
27/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [0.001136s/0.073316s=1.55%]
28/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.001115s/0.073316s=1.52%]
30/63 . SELECT * FROM `discuss` WHERE ( `status` = 'show' AND `product_id` IN (24,23,16,14) ) AND `discuss`.`deletetime` IS NULL [0.001109s/0.073316s=1.51%]
31/63 . SELECT `value` FROM `config` WHERE ( name = 'multiCurrencySwitch' ) LIMIT 1 [0.001107s/0.073316s=1.51%]
32/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [0.001107s/0.073316s=1.51%]
33/63 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.001100s/0.073316s=1.50%]
34/63 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'product_topic' AND `is_installed` = 1 LIMIT 1 [0.001086s/0.073316s=1.48%]
35/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [0.001085s/0.073316s=1.48%]
36/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [0.001075s/0.073316s=1.47%]
37/63 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.001071s/0.073316s=1.46%]
38/63 . SELECT * FROM `themes_menu_item` WHERE `themes_menu_item`.`deletetime` IS NULL [0.001068s/0.073316s=1.46%]
39/63 . SELECT `value` FROM `config` WHERE `name` = 'channel_google' LIMIT 1 [0.001058s/0.073316s=1.44%]
40/63 . SELECT * FROM `activity` WHERE ( ( 1775893834 > starttime && 1775893834 < endtime ) ) AND `activity`.`deletetime` IS NULL ORDER BY `starttime` ASC LIMIT 30 [0.001045s/0.073316s=1.43%]
41/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.001038s/0.073316s=1.42%]
42/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [0.001037s/0.073316s=1.41%]
43/63 . SELECT COUNT(*) AS tp_count FROM `app_center` WHERE `name` = 'salesmartly' AND `is_installed` = 1 LIMIT 1 [0.001023s/0.073316s=1.40%]
44/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [0.001013s/0.073316s=1.38%]
45/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.001011s/0.073316s=1.38%]
46/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001008s/0.073316s=1.37%]
47/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.001006s/0.073316s=1.37%]
48/63 . SELECT `value` FROM `config` WHERE `name` = 'lang_auto_detect' LIMIT 1 [0.001001s/0.073316s=1.37%]
49/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.001001s/0.073316s=1.37%]
50/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.000996s/0.073316s=1.36%]
51/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000994s/0.073316s=1.36%]
52/63 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000971s/0.073316s=1.32%]
53/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [0.000964s/0.073316s=1.31%]
54/63 . set time_zone = '+08:00' [0.000963s/0.073316s=1.31%]
55/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [0.000962s/0.073316s=1.31%]
56/63 . SELECT `value` FROM `config` WHERE ( name = 'byIpSwitch' ) LIMIT 1 [0.000957s/0.073316s=1.31%]
57/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [0.000952s/0.073316s=1.30%]
58/63 . SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [0.000937s/0.073316s=1.28%]
59/63 . SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [0.000924s/0.073316s=1.26%]
60/63 . SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [0.000916s/0.073316s=1.25%]
62/63 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000881s/0.073316s=1.20%]
63/63 . set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [0.000871s/0.073316s=1.19%]
1/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 14 LIMIT 1 [4 times, 0.004255s/0.073316s=5.80%]
2/11. SELECT `id` FROM `custom_activity` WHERE `id` = 17 AND `status` = '1' LIMIT 1 [4 times, 0.004317s/0.073316s=5.89%]
3/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 16 LIMIT 1 [4 times, 0.005062s/0.073316s=6.90%]
4/11. SELECT `id` FROM `custom_activity` WHERE `id` = 16 AND `status` = '1' LIMIT 1 [4 times, 0.004909s/0.073316s=6.70%]
5/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 23 LIMIT 1 [4 times, 0.004524s/0.073316s=6.17%]
6/11. SELECT `id` FROM `custom_activity` WHERE `id` = 23 AND `status` = '1' LIMIT 1 [4 times, 0.004074s/0.073316s=5.56%]
7/11. SELECT `id` FROM `custom_activity` WHERE `id` = 24 AND `status` = '1' LIMIT 1 [4 times, 0.004149s/0.073316s=5.66%]
8/11. SELECT * FROM `custom_activity_relation` WHERE `product_id` = 24 LIMIT 1 [4 times, 0.004121s/0.073316s=5.62%]
9/11. SELECT COUNT(*) AS tp_count FROM `themes_lang` WHERE ( lang_name='en' AND is_enable=1 AND transl_way=2 AND deletetime IS NULL ) LIMIT 1 [3 times, 0.003008s/0.073316s=4.10%]
10/11. set session sql_mode='STRICT_TRANS_TABLES,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' [3 times, 0.002823s/0.073316s=3.85%]