Query time 0.00273
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "26.08"
},
"ordering_operation": {
"using_filesort": false,
"grouping_operation": {
"using_temporary_table": true,
"using_filesort": false,
"nested_loop": [
{
"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": 26,
"rows_produced_per_join": 26,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`variation_group_products`.`group_id` in (639,798,693,637,632,800,636,691,799,692,644,645))",
"cost_info": {
"read_cost": "12.11",
"eval_cost": "2.60",
"prefix_cost": "14.71",
"data_read_per_join": "416"
},
"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": "17.71",
"cost_info": {
"read_cost": "6.50",
"eval_cost": "0.46",
"prefix_cost": "23.81",
"data_read_per_join": "20K"
},
"used_columns": [
"product_id",
"product_type",
"status",
"company_id",
"amount",
"usergroup_ids",
"tracking",
"parent_product_id"
],
"attached_condition": "(((`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": "companies",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"company_id"
],
"key_length": "4",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.products.company_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 0,
"filtered": "10.00",
"cost_info": {
"read_cost": "1.15",
"eval_cost": "0.05",
"prefix_cost": "25.42",
"data_read_per_join": "2K"
},
"used_columns": [
"company_id",
"status",
"company"
],
"attached_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`companies`.`status` = 'A')"
}
},
{
"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": 0,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.23",
"eval_cost": "0.09",
"prefix_cost": "25.74",
"data_read_per_join": "14"
},
"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": "0.23",
"eval_cost": "0.00",
"prefix_cost": "26.07",
"data_read_per_join": "147"
},
"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.01",
"eval_cost": "0.00",
"prefix_cost": "26.08",
"data_read_per_join": "215"
},
"used_columns": [
"product_id",
"lang_code",
"product"
]
}
}
]
}
}
}
}
Result
| product_id |
amount |
product |
company_name |
variation_group_id |
product_type |
parent_product_id |
| 5764 |
100 |
ثلاجة إل جي بفريزر علوي بسعة إجمالية 423 لتر، تقنية Smart Inverter™ |
Delivard Store |
632 |
P |
0 |
| 5765 |
100 |
ثلاجة إل جي بفريزر علوي بسعة إجمالية 423 لتر، تقنية Smart Inverter™ |
Delivard Store |
632 |
V |
5764 |
| 5766 |
100 |
ثلاجة إل جي بفريزر علوي بسعة إجمالية 423 لتر، تقنية Smart Inverter™ |
Delivard Store |
632 |
V |
5764 |
| 5835 |
100 |
غسالة إل جي أمامية وحدة واحدة 21/16 كجم WashTower™ مع Centre Control™ |
Delivard Store |
636 |
P |
0 |
| 5836 |
100 |
غسالة إل جي أمامية وحدة واحدة 21/16 كجم WashTower™ مع Centre Control™ |
Delivard Store |
636 |
V |
5835 |
| 5844 |
100 |
غسالة إل جي 15 كجم مع تقنية الذكاء الاصطناعي AI DD™ |
Delivard Store |
637 |
P |
0 |
| 5845 |
100 |
غسالة إل جي 15 كجم مع تقنية الذكاء الاصطناعي AI DD™ |
Delivard Store |
637 |
V |
5844 |
| 5861 |
100 |
LG InstaView™ ThinQ™ 611L Side by Side Refrigerator, UVnano™, LINEARCooling™, ThinQ™ |
Delivard Store |
639 |
V |
5860 |
| 5860 |
100 |
LG InstaView™ ThinQ™ 611L Side by Side Refrigerator, UVnano™, LINEARCooling™, ThinQ™ |
Delivard Store |
639 |
P |
0 |
| 5914 |
100 |
غسالة صحون LG QuadWash™ بسعة 14 مكان، مزودة بتقنية EasyRack™ Plus وInverter Direct Drive |
Delivard Store |
644 |
V |
5913 |
| 5913 |
100 |
غسالة صحون LG QuadWash™ بسعة 14 مكان، مزودة بتقنية EasyRack™ Plus وInverter Direct Drive |
Delivard Store |
644 |
P |
0 |
| 5917 |
100 |
غسالة صحون LG QuadWash™ مزودة بتقنية EasyRack™ Plus وInverter Direct Drive وThinQ |
Delivard Store |
645 |
V |
5916 |
| 5916 |
100 |
غسالة صحون LG QuadWash™ مزودة بتقنية EasyRack™ Plus وInverter Direct Drive وThinQ |
Delivard Store |
645 |
P |
0 |
| 5763 |
100 |
ثلاجة إل جي جانبية بسعة 625 لتر، تشخيص ذكي، LINEARCooling، البريميوم |
Delivard Store |
691 |
P |
0 |
| 6212 |
100 |
ثلاجة إل جي جانبية بسعة 625 لتر، تشخيص ذكي، LINEARCooling، البريميوم |
Delivard Store |
691 |
V |
5763 |
| 5772 |
100 |
غسالة إل جي أمامية 11 كجم بتقنية AI DD™ وتقنية Steam+™ – أسود بلاتيني |
Delivard Store |
692 |
P |
0 |
| 6213 |
100 |
غسالة إل جي أمامية 11 كجم بتقنية AI DD™ وتقنية Steam+™ – أسود بلاتيني |
Delivard Store |
692 |
V |
5772 |
| 5784 |
100 |
غسالة إل جي علوية 18 كجم بتقنية AI DD وتقنية TurboWash3D وحوض Turbo Drum |
Delivard Store |
693 |
P |
0 |
| 6215 |
100 |
غسالة إل جي علوية 18 كجم بتقنية AI DD وتقنية TurboWash3D وحوض Turbo Drum |
Delivard Store |
693 |
V |
5784 |
| 5985 |
100 |
لـ جـي تلفزيون ذكي UA85 UHD AI 4K مقاس بوصة بريموت ماجيك HDR10 WebOS25 (2025) |
Delivard Store |
798 |
P |
0 |
| 8264 |
100 |
LG UHD AI UA85 4K Smart TV AI Magic remote HDR10 WebOS25 2025 |
Delivard Store |
798 |
P |
0 |
| 5986 |
100 |
إلجي تلفزيون كيونيد 82 4K ذكي مع تقنية الذكاء الاصطناعي وجهاز تحكُّم ماجيك، HDR10 و webOS 25 |
Delivard Store |
799 |
P |
0 |
| 8265 |
100 |
LG QNED82, 4K smart TV, with AI technology and AI magic control, HDR10 and webOS 25, model |
Delivard Store |
799 |
P |
0 |
| 5971 |
100 |
تلفزيون إل جي QNED evo AI QNED86 ميني LED ذكي، 4K، 120 هرتز، مع جهاز تحكم سحري، webOS 25 (موديل 2025) |
Delivard Store |
800 |
P |
0 |
| 8266 |
100 |
LG QNED evo AI QNED86 MiniLED 4K 120Hz Smart TV AI Magic remote webOS25 2025 |
Delivard Store |
800 |
P |
0 |
| 8267 |
100 |
LG QNED evo AI QNED86 MiniLED 4K 120Hz Smart TV AI Magic remote webOS25 2025 |
Delivard Store |
800 |
P |
0 |