Query time 0.00294
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "67.33"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "v",
"access_type": "range",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"used_key_parts": [
"product_id"
],
"key_length": "3",
"rows_examined_per_scan": 108,
"rows_produced_per_join": 35,
"filtered": "32.51",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (2372,2363,2367,2374,2369,2362,2368)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'ar')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "46.85",
"eval_cost": "3.51",
"prefix_cost": "50.36",
"data_read_per_join": "27K"
},
"used_columns": [
"feature_id",
"product_id",
"variant_id",
"value",
"value_int",
"lang_code"
]
}
},
{
"table": {
"table_name": "f",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY",
"status"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.v.feature_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "9.53",
"cost_info": {
"read_cost": "8.78",
"eval_cost": "0.33",
"prefix_cost": "62.65",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"feature_type",
"categories_path",
"parent_id",
"display_on_catalog",
"status",
"position"
],
"attached_condition": "((`softwarepirmam_hewadelivard_cscart_4`.`f`.`status` = 'A') and (`softwarepirmam_hewadelivard_cscart_4`.`f`.`display_on_catalog` = 'Y') and ((`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path` = '') or (0 <> find_in_set(166,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(329,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(347,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`))) and (if(`softwarepirmam_hewadelivard_cscart_4`.`f`.`parent_id`,(/* select#2 */ select `softwarepirmam_hewadelivard_cscart_4`.`df`.`status` from `softwarepirmam_hewadelivard_cscart_4`.`cscart_product_features` `df` where (`softwarepirmam_hewadelivard_cscart_4`.`df`.`feature_id` = `softwarepirmam_hewadelivard_cscart_4`.`f`.`parent_id`)),'A') = 'A') and ((`softwarepirmam_hewadelivard_cscart_4`.`v`.`variant_id` <> 0) or ((`softwarepirmam_hewadelivard_cscart_4`.`f`.`feature_type` <> 'C') and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`value` <> '')) or (`softwarepirmam_hewadelivard_cscart_4`.`f`.`feature_type` = 'C') or (`softwarepirmam_hewadelivard_cscart_4`.`v`.`value_int` <> 0)))",
"attached_subqueries": [
{
"dependent": true,
"cacheable": false,
"query_block": {
"select_id": 2,
"cost_info": {
"query_cost": "0.35"
},
"table": {
"table_name": "df",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.f.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 1,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.25",
"eval_cost": "0.10",
"prefix_cost": "0.35",
"data_read_per_join": "440"
},
"used_columns": [
"feature_id",
"status"
]
}
}
}
]
}
},
{
"table": {
"table_name": "fd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.v.feature_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "63.82",
"data_read_per_join": "7K"
},
"used_columns": [
"feature_id",
"description",
"prefix",
"suffix",
"lang_code"
]
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.v.variant_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "64.99",
"data_read_per_join": "3K"
},
"used_columns": [
"variant_id",
"position"
]
}
},
{
"table": {
"table_name": "vd",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.fv.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "66.16",
"data_read_per_join": "10K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
},
{
"table": {
"table_name": "gf",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"feature_id"
],
"key_length": "3",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.f.parent_id"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 3,
"filtered": "100.00",
"cost_info": {
"read_cost": "0.84",
"eval_cost": "0.33",
"prefix_cost": "67.33",
"data_read_per_join": "1K"
},
"used_columns": [
"feature_id",
"feature_type",
"position"
],
"attached_condition": "<if>(is_not_null_compl(gf), (`softwarepirmam_hewadelivard_cscart_4`.`gf`.`feature_type` = 'G'), true)"
}
}
]
}
}
}
Result
| product_id |
feature_id |
value |
value_int |
variant_id |
feature_type |
description |
prefix |
suffix |
variant |
parent_id |
position |
gposition |
| 2362 |
654 |
|
5.00 |
2755 |
S |
Charging Type |
|
|
5 V ⎓ 1 A (Micro‑USB) |
0 |
120 |
|
| 2374 |
654 |
|
|
2773 |
S |
Charging Type |
|
|
USB‑C |
0 |
120 |
|
| 2369 |
654 |
|
0.00 |
2773 |
S |
Charging Type |
|
|
USB‑C |
0 |
120 |
|
| 2368 |
654 |
|
|
2773 |
S |
Charging Type |
|
|
USB‑C |
0 |
120 |
|
| 2374 |
659 |
|
|
2781 |
S |
Connectivity |
|
|
3.5 mm AUX‑in, Bluetooth 5.0 with a range of 15 meters |
0 |
152 |
|
| 2362 |
659 |
|
0.00 |
2756 |
S |
Connectivity |
|
|
Bluetooth 4.1, with a range of 10 meters |
0 |
152 |
|
| 2372 |
659 |
|
0.00 |
2779 |
S |
Connectivity |
|
|
TWS & Multi-Speaker Pairing, Bluetooth 5.4 with a range of 25 meters |
0 |
152 |
|
| 2369 |
659 |
|
0.00 |
2777 |
S |
Connectivity |
|
|
Bluetooth 5.4, with a range of 25 meters |
0 |
152 |
|
| 2363 |
659 |
|
0.00 |
2762 |
S |
Connectivity |
|
|
NFC pairing, 3.5 mm AUX input, Bluetooth 4.0 with a range of 10 meters |
0 |
152 |
|
| 2368 |
659 |
|
|
2774 |
S |
Connectivity |
|
|
Bluetooth 5.0, with a range of 10 meters |
0 |
152 |
|
| 2367 |
659 |
|
0.00 |
2764 |
S |
Connectivity |
|
|
Bluetooth 4.2, with a range of 10 meters |
0 |
152 |
|
| 2367 |
683 |
|
0.00 |
2765 |
S |
Input |
|
|
Micro‑USB (5 V ⎓ 2 A) |
0 |
310 |
|
| 2374 |
684 |
|
|
2782 |
S |
Output |
|
|
16 W (2 × 8 W) |
0 |
320 |
|
| 2372 |
684 |
|
5.00 |
2757 |
S |
Output |
|
|
5 W |
0 |
320 |
|
| 2369 |
684 |
|
30.00 |
2778 |
S |
Output |
|
|
30 W (20 W racetrack driver + 10 W tweeter) |
0 |
320 |
|
| 2368 |
684 |
|
|
2775 |
S |
Output |
|
|
4 W RMS (single driver) |
0 |
320 |
|
| 2367 |
684 |
|
3.00 |
2766 |
S |
Output |
|
|
3 W |
0 |
320 |
|
| 2362 |
684 |
|
5.00 |
2757 |
S |
Output |
|
|
5 W |
0 |
320 |
|
| 2363 |
684 |
|
|
2761 |
S |
Output |
|
|
3 W × 2 (Dual 36 mm drivers) |
0 |
320 |
|
| 2368 |
653 |
|
|
2772 |
S |
باتري |
|
|
2000 mAh, up to 10 hours of playtime |
0 |
100 |
|
| 2362 |
653 |
|
1.00 |
2754 |
S |
باتري |
|
|
1,200 mAh (3.7 V), up to 7 hours of playtime |
0 |
100 |
|
| 2374 |
653 |
|
|
2780 |
S |
باتري |
|
|
2,600 mAh. up to 13 hours of playtime |
0 |
100 |
|
| 2363 |
653 |
|
|
2759 |
S |
باتري |
|
|
1500 mAh, up to 8 hours of playtime |
0 |
100 |
|
| 2369 |
653 |
|
2.00 |
2776 |
S |
باتري |
|
|
2,600 mAh (7.2 V Li‑Ion), up to 12 hours of playtime |
0 |
100 |
|
| 2367 |
653 |
|
480.00 |
2763 |
S |
باتري |
|
|
480 mAh, up to 6 hours of playtime |
0 |
100 |
|
| 2369 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2363 |
656 |
|
|
2758 |
S |
لون |
|
|
Gold |
0 |
160 |
|
| 2372 |
656 |
|
|
1560 |
S |
لون |
|
|
Black |
0 |
160 |
|
| 2367 |
656 |
|
|
1559 |
S |
لون |
|
|
White |
0 |
160 |
|
| 2368 |
656 |
|
|
2077 |
S |
لون |
|
|
Grey |
0 |
160 |
|
| 2374 |
656 |
|
|
1600 |
S |
لون |
|
|
Blue |
0 |
160 |
|
| 2362 |
656 |
|
|
1559 |
S |
لون |
|
|
White |
0 |
160 |
|
| 2369 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2363 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2372 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2368 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2362 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2374 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|
| 2367 |
657 |
|
|
1666 |
E |
ماركة |
|
|
Xiaomi |
0 |
0 |
|