Query time 0.00550
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "67.30"
},
"ordering_operation": {
"using_filesort": false,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"table": {
"table_name": "companies",
"access_type": "ALL",
"possible_keys": [
"PRIMARY"
],
"rows_examined_per_scan": 10,
"rows_produced_per_join": 1,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.46",
"eval_cost": "0.10",
"prefix_cost": "1.56",
"data_read_per_join": "6K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`companies`.`status` = 'A')"
}
},
{
"table": {
"table_name": "variation_group_products",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"idx_group_id"
],
"key": "idx_group_id",
"used_key_parts": [
"group_id"
],
"key_length": "3",
"rows_examined_per_scan": 70,
"rows_produced_per_join": 70,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`variation_group_products`.`group_id` in (345,418,252,681,155,466,666,353,381,212,266,664,383,648,432,373,382,673,689))",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "29.26",
"eval_cost": "7.00",
"prefix_cost": "37.82",
"data_read_per_join": "1K"
},
"used_columns": [
"product_id",
"group_id"
]
}
},
{
"table": {
"table_name": "products",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.variation_group_products.product_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "5.00",
"cost_info": {
"read_cost": "17.50",
"eval_cost": "0.35",
"prefix_cost": "62.32",
"data_read_per_join": "15K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"amount",
"usergroup_ids",
"tracking",
"parent_product_id"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`products`.`company_id` = `softwarepirmam_hewadelivard_cscart_4`.`companies`.`company_id`) and ((`softwarepirmam_hewadelivard_cscart_4`.`products`.`amount` > 0) or (`softwarepirmam_hewadelivard_cscart_4`.`products`.`tracking` = 'D')) and ((`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`products`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`products`.`product_type` <> 'D'))"
}
},
{
"table": {
"table_name": "products_categories",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"pt"
],
"key": "pt",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.variation_group_products.product_id"
],
"rows_examined_per_scan": 2,
"rows_produced_per_join": 7,
"filtered": "100.00",
"cost_info": {
"read_cost": "1.75",
"eval_cost": "0.70",
"prefix_cost": "64.77",
"data_read_per_join": "112"
},
"used_columns": [
"product_id",
"category_id"
]
}
},
{
"table": {
"table_name": "cscart_categories",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"c_status",
"p_category_id"
],
"key": "PRIMARY",
"used_key_parts": [
"category_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.products_categories.category_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "5.00",
"cost_info": {
"read_cost": "1.75",
"eval_cost": "0.04",
"prefix_cost": "67.22",
"data_read_per_join": "1K"
},
"used_columns": [
"category_id",
"storefront_id",
"usergroup_ids",
"status"
],
"attached_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids` = '') or (0 <> find_in_set(0,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`)) or (0 <> find_in_set(1,`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`usergroup_ids`))) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`status` in ('A','H')) and (`softwarepirmam_hewadelivard_cscart_4`.`cscart_categories`.`storefront_id` in (0,1)))"
}
},
{
"table": {
"table_name": "descr1",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"product_id"
],
"key": "PRIMARY",
"used_key_parts": [
"product_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.variation_group_products.product_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.04",
"eval_cost": "0.04",
"prefix_cost": "67.30",
"data_read_per_join": "1K"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
}
]
}
}
}
}
Result
| product_id |
amount |
product |
company_name |
variation_group_id |
product_type |
parent_product_id |
| 2227 |
100 |
HAMA 201562 / REFLECTIVE CHARGING CABLE, USB-C - LIGHTNING, 1.5 M, NYLON |
Delivard Store |
155 |
V |
2226 |
| 2226 |
100 |
كابل شحن HAMA 201562 العاكس، من USB-C إلى Lightning، بطول 1.5 متر، من النايلون |
Delivard Store |
155 |
P |
0 |
| 2522 |
100 |
شاحن أنكر نانو بقوة 100 واط مع كابل USB-C بطول 6 أقدام وقوة 5 أمبير |
Delivard Store |
212 |
P |
0 |
| 2655 |
100 |
أنكر زولو كابل C to C بطول 6 أقدام بقدرة 240 واط (مجَدول ومقاوم للأوساخ) |
Delivard Store |
252 |
P |
0 |
| 2719 |
100 |
كابل أنكر 544 USB-C إلى USB-C بطول 180 سم وقوة 140 واط |
Delivard Store |
266 |
P |
0 |
| 2728 |
100 |
كابل أنكر 544 USB-C إلى USB-C بطول 180 سم وقوة 140 واط |
Delivard Store |
266 |
V |
2719 |
| 3112 |
100 |
محطة شحن أنكر ماج جو ثلاثية الوظائف بقوة 15 واط - مع تقنية Qi2 |
Delivard Store |
345 |
P |
0 |
| 3113 |
100 |
محطة شحن أنكر ماج جو ثلاثية الوظائف بقوة 15 واط - مع تقنية Qi2 |
Delivard Store |
345 |
V |
3112 |
| 3153 |
100 |
شاحن أنكر PowerPort III بقوة 20 واط |
Delivard Store |
353 |
P |
0 |
| 3289 |
100 |
Belkin BoostCharge Flex USB-C to USB-C Silicone Cable, 3M |
Delivard Store |
373 |
P |
0 |
| 3377 |
100 |
حامل شحن لاسلكي بيلكن BoostCharge مع تقنية Magnetic Qi2 بقوة 15 واط |
Delivard Store |
381 |
P |
0 |
| 3378 |
100 |
حامل شحن لاسلكي بيلكن BoostCharge مع تقنية Magnetic Qi2 بقوة 15 واط |
Delivard Store |
381 |
V |
3377 |
| 3382 |
100 |
كابل دفايسد USB-C إلى USB-C من السيليكون بطول 1.25 متر |
Delivard Store |
382 |
P |
0 |
| 3383 |
100 |
كابل دفايسد USB-C إلى USB-C من السيليكون بطول 1.25 متر |
Delivard Store |
382 |
V |
3382 |
| 3385 |
100 |
كابل دفايسد USB-C إلى USB-C مضفر من نسيج النايلون بطول 1.25 متر |
Delivard Store |
383 |
P |
0 |
| 3386 |
100 |
كابل دفايسد USB-C إلى USB-C مضفر من نسيج النايلون بطول 1.25 متر |
Delivard Store |
383 |
V |
3385 |
| 3664 |
100 |
كابل أنكر 322 USB-A إلى USB-C مضفر بطول 3 أقدام |
Delivard Store |
418 |
P |
0 |
| 3665 |
100 |
كابل أنكر 322 USB-A إلى USB-C مضفر بطول 3 أقدام |
Delivard Store |
418 |
V |
3664 |
| 3832 |
100 |
كابل Belkin مضفر USB-A إلى Lightning بطول 2 متر |
Delivard Store |
432 |
V |
3831 |
| 3831 |
100 |
كابل Belkin مضفر USB-A إلى Lightning بطول 2 متر |
Delivard Store |
432 |
P |
0 |
| 4110 |
100 |
بايكرون حامل قلم آبل |
Delivard Store |
466 |
V |
3811 |
| 4111 |
100 |
بايكرون حامل قلم آبل |
Delivard Store |
466 |
V |
3811 |
| 3811 |
100 |
بايكرون حامل قلم آبل |
Delivard Store |
466 |
P |
0 |
| 5948 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
P |
0 |
| 6128 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6127 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6126 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6129 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6130 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6131 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6132 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6133 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6134 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6135 |
100 |
سوار Apple 42mm الرياضي |
Delivard Store |
648 |
V |
5948 |
| 6041 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
P |
0 |
| 6042 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
V |
6041 |
| 6043 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
V |
6041 |
| 6044 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
V |
6041 |
| 6045 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
V |
6041 |
| 6046 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
V |
6041 |
| 6047 |
100 |
سوار Apple 46mm الرياضي بحلقة |
Delivard Store |
664 |
V |
6041 |
| 6054 |
100 |
سوار Apple 40mm الرياضي بحلقة |
Delivard Store |
666 |
P |
0 |
| 6055 |
100 |
سوار Apple 40mm الرياضي بحلقة |
Delivard Store |
666 |
V |
6054 |
| 6056 |
100 |
سوار Apple 40mm الرياضي بحلقة |
Delivard Store |
666 |
V |
6054 |
| 6057 |
100 |
سوار Apple 40mm الرياضي بحلقة |
Delivard Store |
666 |
V |
6054 |
| 6058 |
100 |
سوار Apple 40mm الرياضي بحلقة |
Delivard Store |
666 |
V |
6054 |
| 6059 |
100 |
سوار Apple 40mm الرياضي بحلقة |
Delivard Store |
666 |
V |
6054 |
| 5956 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6087 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6088 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6089 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6090 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6091 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6092 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
V |
6093 |
| 6093 |
100 |
محفظة Apple iPhone منسوجة فاخرة مع MagSafe |
Delivard Store |
673 |
P |
0 |
| 5683 |
100 |
Apple سوار 49 ملم أوشن (2024) |
Delivard Store |
681 |
P |
0 |
| 6152 |
100 |
Apple سوار 49 ملم أوشن (2024) |
Delivard Store |
681 |
V |
5683 |
| 6153 |
100 |
Apple سوار 49 ملم أوشن (2024) |
Delivard Store |
681 |
V |
5683 |
| 6154 |
100 |
Apple سوار 49 ملم أوشن (2024) |
Delivard Store |
681 |
V |
5683 |
| 6155 |
100 |
Apple سوار 49 ملم أوشن (2024) |
Delivard Store |
681 |
V |
5683 |
| 6196 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6195 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6194 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
P |
0 |
| 6197 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6198 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6199 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6200 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6201 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |
| 6202 |
100 |
غطاء سيليكون Apple iPhone 16 مع MagSafe |
Delivard Store |
689 |
V |
6194 |