Query time 0.00136
JSON explain
{
"query_block": {
"select_id": 1,
"cost_info": {
"query_cost": "19.96"
},
"ordering_operation": {
"using_temporary_table": true,
"using_filesort": true,
"nested_loop": [
{
"table": {
"table_name": "cscart_product_feature_variants",
"access_type": "range",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id"
],
"key_length": "3",
"rows_examined_per_scan": 19,
"rows_produced_per_join": 19,
"filtered": "100.00",
"index_condition": "(`softwarepirmam_hewadelivard_cscart_4`.`cscart_product_feature_variants`.`variant_id` in (3985,1607,1560,1913,1559,4913,4696,2077,4694,1558,1707,4699,2862,2696,4705,2315,2895,2758,1609))",
"cost_info": {
"read_cost": "11.41",
"eval_cost": "1.90",
"prefix_cost": "13.31",
"data_read_per_join": "21K"
},
"used_columns": [
"variant_id",
"color",
"position"
]
}
},
{
"table": {
"table_name": "cscart_product_feature_variant_descriptions",
"access_type": "eq_ref",
"possible_keys": [
"PRIMARY"
],
"key": "PRIMARY",
"used_key_parts": [
"variant_id",
"lang_code"
],
"key_length": "9",
"ref": [
"softwarepirmam_hewadelivard_cscart_4.cscart_product_feature_variants.variant_id",
"const"
],
"rows_examined_per_scan": 1,
"rows_produced_per_join": 19,
"filtered": "100.00",
"cost_info": {
"read_cost": "4.75",
"eval_cost": "1.90",
"prefix_cost": "19.96",
"data_read_per_join": "57K"
},
"used_columns": [
"variant_id",
"variant",
"lang_code"
]
}
}
]
}
}
}
Result
| variant_id |
position |
color |
variant |
| 4699 |
0 |
|
3.5mm Audio Jack to 3.5mm Audio Jack |
| 1560 |
0 |
#000000 |
Black |
| 2758 |
0 |
#ffd966 |
Gold |
| 2077 |
0 |
#666666 |
Grey |
| 4705 |
0 |
|
Midnight Blue |
| 1913 |
0 |
#1a1a2e |
Navy |
| 1707 |
0 |
#ff9900 |
Orange |
| 1609 |
0 |
#9900ff |
Purple |
| 2315 |
0 |
#cc0000 |
Red |
| 1607 |
0 |
#bdbdbd |
Silver |
| 3985 |
0 |
|
Transparent |
| 4694 |
0 |
|
USB-A to Lightning cable |
| 4696 |
0 |
|
USB-A to Micro |
| 2696 |
0 |
|
USB-A to USB-C |
| 4913 |
0 |
|
USB-C cable 2m, MagSafe magnetic alignment, Qi wireless charging, no additional USB ports |
| 2895 |
0 |
|
USB-C to Lightning Cable |
| 2862 |
0 |
|
USB-C to USB-C |
| 1559 |
0 |
#ffffff |
White |
| 1558 |
80 |
#f3b2dc |
Pink |