Query time 0.00484
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "79.12"
},
"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": 85,
"rows_produced_per_join": 85,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`variation_group_products`.`group_id` in (666,648,673,689,665,676,688,649,634,555,684,662,953,683))",
"using_join_buffer": "hash join",
"cost_info": {
"read_cost": "33.26",
"eval_cost": "8.50",
"prefix_cost": "43.32",
"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": 4,
"filtered": "5.00",
"cost_info": {
"read_cost": "21.25",
"eval_cost": "0.43",
"prefix_cost": "73.07",
"data_read_per_join": "18K"
},
"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": 8,
"filtered": "100.00",
"cost_info": {
"read_cost": "2.13",
"eval_cost": "0.85",
"prefix_cost": "76.05",
"data_read_per_join": "136"
},
"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": "2.13",
"eval_cost": "0.04",
"prefix_cost": "79.02",
"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.05",
"eval_cost": "0.04",
"prefix_cost": "79.12",
"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 |
| 4941 |
100 |
آبل آيفون 15 كيس فاين ووفن مع ماجسيف |
Delivard Store |
555 |
V |
4935 |
| 4940 |
100 |
آبل آيفون 15 كيس فاين ووفن مع ماجسيف |
Delivard Store |
555 |
V |
4935 |
| 4939 |
100 |
آبل آيفون 15 كيس فاين ووفن مع ماجسيف |
Delivard Store |
555 |
V |
4935 |
| 4935 |
100 |
آبل آيفون 15 كيس فاين ووفن مع ماجسيف |
Delivard Store |
555 |
P |
0 |
| 5815 |
100 |
لوحة مفاتيح Apple ماجيك كيبورد لجهاز iPad Pro 13‑inch (M4) - عربية |
Delivard Store |
634 |
P |
0 |
| 5816 |
100 |
لوحة مفاتيح Apple ماجيك كيبورد لجهاز iPad Pro 13‑inch (M4) - عربية |
Delivard Store |
634 |
V |
5815 |
| 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 |
| 5952 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
P |
0 |
| 6138 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6137 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6136 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6139 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6140 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6141 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6142 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6143 |
100 |
سوار Apple 46mm الرياضي |
Delivard Store |
649 |
V |
5952 |
| 6031 |
100 |
سوار Apple 46mm Nike الرياضي بحلقة |
Delivard Store |
662 |
P |
0 |
| 6032 |
100 |
سوار Apple 46mm Nike الرياضي بحلقة |
Delivard Store |
662 |
V |
6031 |
| 6033 |
100 |
سوار Apple 46mm Nike الرياضي بحلقة |
Delivard Store |
662 |
V |
6031 |
| 6034 |
100 |
سوار Apple 46mm Nike الرياضي بحلقة |
Delivard Store |
662 |
V |
6031 |
| 6035 |
100 |
سوار Apple 46mm Nike الرياضي بحلقة |
Delivard Store |
662 |
V |
6031 |
| 6048 |
100 |
سوار Apple 42mm الرياضي بحلقة |
Delivard Store |
665 |
P |
0 |
| 6049 |
100 |
سوار Apple 42mm الرياضي بحلقة |
Delivard Store |
665 |
V |
6048 |
| 6050 |
100 |
سوار Apple 42mm الرياضي بحلقة |
Delivard Store |
665 |
V |
6048 |
| 6051 |
100 |
سوار Apple 42mm الرياضي بحلقة |
Delivard Store |
665 |
V |
6048 |
| 6052 |
100 |
سوار Apple 42mm الرياضي بحلقة |
Delivard Store |
665 |
V |
6048 |
| 6053 |
100 |
سوار Apple 42mm الرياضي بحلقة |
Delivard Store |
665 |
V |
6048 |
| 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 |
| 6101 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
P |
0 |
| 6102 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6103 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6104 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6105 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6106 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6107 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6108 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6109 |
100 |
حلقة مفاتيح Apple AirTag FineWoven |
Delivard Store |
676 |
V |
6101 |
| 6164 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
P |
0 |
| 6165 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
V |
6164 |
| 6166 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
V |
6164 |
| 6167 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
V |
6164 |
| 6168 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
V |
6164 |
| 6169 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
V |
6164 |
| 6170 |
100 |
حزام 46mm Nike Apple رياضي |
Delivard Store |
683 |
V |
6164 |
| 6171 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
P |
0 |
| 6172 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
V |
6171 |
| 6173 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
V |
6171 |
| 6174 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
V |
6171 |
| 6175 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
V |
6171 |
| 6176 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
V |
6171 |
| 6177 |
100 |
سوار Apple 42 مم Nike الرياضي |
Delivard Store |
684 |
V |
6171 |
| 5804 |
100 |
كابل Apple Lightning إلى 3.5 مم للصوت (1.2م) |
Delivard Store |
688 |
P |
0 |
| 6193 |
100 |
كابل Apple Lightning إلى 3.5 مم للصوت (1.2م) |
Delivard Store |
688 |
V |
5804 |
| 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 |
| 10089 |
100 |
آبل آيباد برو 12.9 بوصة واي فاي – لون سبيس جراي |
Delivard Store |
953 |
P |
0 |