Query time 0.00213
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "77.19"
},
"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": 123,
"rows_produced_per_join": 39,
"filtered": "32.52",
"index_condition": "(((`softwarepirmam_hewadelivard_cscart_4`.`v`.`product_id` in (2360,2304,2303,2298,2294,2292,2287,2288,2306,2297)) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`lang_code` = 'en')) and (`softwarepirmam_hewadelivard_cscart_4`.`v`.`feature_id` is not null))",
"cost_info": {
"read_cost": "53.86",
"eval_cost": "4.00",
"prefix_cost": "57.86",
"data_read_per_join": "30K"
},
"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": "10.00",
"eval_cost": "0.38",
"prefix_cost": "71.86",
"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(378,`softwarepirmam_hewadelivard_cscart_4`.`f`.`categories_path`)) or (0 <> find_in_set(443,`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.95",
"eval_cost": "0.38",
"prefix_cost": "73.19",
"data_read_per_join": "8K"
},
"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.95",
"eval_cost": "0.38",
"prefix_cost": "74.53",
"data_read_per_join": "4K"
},
"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.95",
"eval_cost": "0.38",
"prefix_cost": "75.86",
"data_read_per_join": "11K"
},
"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.95",
"eval_cost": "0.38",
"prefix_cost": "77.19",
"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 |
| 2294 |
653 |
|
|
2553 |
S |
Battery |
|
|
10000 mAh (37 Wh typical, 5500 mAh rated) |
0 |
100 |
|
| 2303 |
653 |
|
|
2578 |
S |
Battery |
|
|
20000 mAh (74 Wh typical, 12000 mAh rated at 5 V/4 A) |
0 |
100 |
|
| 2298 |
653 |
|
|
2568 |
S |
Battery |
|
|
10,000 mAh (37 Wh typical, 5,500 mAh rated) |
0 |
100 |
|
| 2304 |
653 |
|
|
2579 |
S |
Battery |
|
|
10000 mAh (37 Wh typical, 3.7 V) |
0 |
100 |
|
| 2297 |
653 |
|
|
2566 |
S |
Battery |
|
|
10000 mAh (9800 mAh rated / 36 Wh typical) |
0 |
100 |
|
| 2306 |
653 |
|
|
2581 |
S |
Battery |
|
|
20000 mAh (74 Wh typical, 12000 mAh rated) |
0 |
100 |
|
| 2292 |
653 |
|
|
2563 |
S |
Battery |
|
|
10000 mAh (35.2–36 Wh typical, 5600 mAh rated) |
0 |
100 |
|
| 2360 |
653 |
|
|
2744 |
S |
Battery |
|
|
10000 mAh equivalent (4 × 2,500 mAh cells), 36 Wh rated |
0 |
100 |
|
| 2287 |
653 |
|
|
2551 |
S |
Battery |
|
|
20000 mAh (75.48 Wh typical, 10000 mAh rated) |
0 |
100 |
|
| 2288 |
653 |
|
|
2553 |
S |
Battery |
|
|
10000 mAh (37 Wh typical, 5500 mAh rated) |
0 |
100 |
|
| 2288 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2306 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2292 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2298 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2294 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2304 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2303 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2360 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2297 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2287 |
657 |
|
|
1666 |
E |
Brand |
|
|
Xiaomi |
0 |
0 |
|
| 2360 |
654 |
|
|
2746 |
S |
Charging Type |
|
|
Super Fast Charging (HyperCharge) |
0 |
120 |
|
| 2304 |
656 |
|
|
1559 |
S |
Color |
|
|
white |
0 |
160 |
|
| 2360 |
656 |
|
|
1607 |
S |
Color |
|
|
silver |
0 |
160 |
|
| 2298 |
656 |
|
|
1600 |
S |
Color |
|
|
Blue |
0 |
160 |
|
| 2303 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2306 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2287 |
656 |
|
|
1600 |
S |
Color |
|
|
Blue |
0 |
160 |
|
| 2297 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2294 |
656 |
|
|
1560 |
S |
Color |
|
|
Black |
0 |
160 |
|
| 2292 |
656 |
|
|
1600 |
S |
Color |
|
|
Blue |
0 |
160 |
|
| 2288 |
656 |
|
|
1753 |
S |
Color |
|
|
Ice Blue |
0 |
160 |
|
| 2360 |
649 |
|
|
2743 |
S |
Display |
|
|
LED shows battery percentage and power delivery |
0 |
20 |
|
| 2360 |
683 |
|
|
2747 |
S |
Input |
|
|
Max Input Power Up to 90 W (via USB-C) |
0 |
310 |
|
| 2360 |
684 |
|
|
2748 |
S |
Output |
|
|
Max Output Power 165 W total (120 W via integrated cable + 45 W via USB-C port) |
0 |
320 |
|
| 2287 |
645 |
|
|
2552 |
S |
Ports |
|
|
USB‑C (integrated cable), USB‑C (port), USB‑A |
0 |
110 |
|
| 2288 |
645 |
|
|
2554 |
S |
Ports |
|
|
Integrated USB‑C cable, 1 × USB‑C port, 1 × USB‑A port |
0 |
110 |
|
| 2292 |
645 |
|
|
2564 |
S |
Ports |
|
|
1 × USB‑C input/output, 1 × USB‑A output |
0 |
110 |
|
| 2360 |
645 |
|
|
2745 |
S |
Ports |
|
|
1 × integrated USB‑C cable (OUT1/IN1), 1 × USB‑C port (OUT2/IN2) |
0 |
110 |
|
| 2294 |
645 |
|
|
2565 |
S |
Ports |
|
|
2 × USB-A, 1 × USB-C output; 1 × USB-C, 1 × Micro-USB input |
0 |
110 |
|
| 2306 |
645 |
|
|
2580 |
S |
Ports |
|
|
2 × USB-A output, 1 × USB-C input, 1 × Micro-USB input |
0 |
110 |
|
| 2297 |
645 |
|
|
2567 |
S |
Ports |
|
|
1 × USB-A output, 1 × USB-C output/input |
0 |
110 |
|
| 2298 |
645 |
|
|
2569 |
S |
Ports |
|
|
1 × USB‑C (input/output), 2 × USB‑A output |
0 |
110 |
|
| 2304 |
645 |
|
|
2580 |
S |
Ports |
|
|
2 × USB-A output, 1 × USB-C input, 1 × Micro-USB input |
0 |
110 |
|
| 2303 |
645 |
|
|
2569 |
S |
Ports |
|
|
1 × USB‑C (input/output), 2 × USB‑A output |
0 |
110 |
|
| 2360 |
694 |
|
|
2742 |
S |
Safety Features |
|
|
Multi-layer protection including over-voltage, over-current, short-circuit, temperature control |
0 |
0 |
|