Query time 0.00064
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.029189775,
"nested_loop": [
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"variant_id",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "lang_code",
"key_length": "9",
"used_key_parts": ["lang_code", "feature_id"],
"ref": ["const", "const"],
"loops": 1,
"rows": 11,
"cost": 0.003259455,
"filtered": 81.8181839,
"attached_condition": "pfv.product_id in (13876,13879,13899,13861,13897,13866,13873,13885,13884) and pfv.lang_code = 'en'",
"using_index": true
}
},
{
"table": {
"table_name": "fv",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "feature_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["variant_id"],
"ref": ["u508912950_dev_2025.pfv.variant_id"],
"loops": 9,
"rows": 1,
"cost": 0.01132676,
"filtered": 100,
"attached_condition": "fv.feature_id = 617"
}
},
{
"table": {
"table_name": "fvd",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["variant_id", "lang_code"],
"ref": ["u508912950_dev_2025.pfv.variant_id", "const"],
"loops": 9,
"rows": 1,
"cost": 0.01460356,
"filtered": 100,
"attached_condition": "fvd.lang_code = 'en'"
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
position |
variant |
| 617 |
13861 |
12768 |
0 |
Fudge |
| 617 |
13866 |
12777 |
0 |
Honey |
| 617 |
13873 |
12788 |
0 |
Dark |
| 617 |
13876 |
12794 |
0 |
Beige |
| 617 |
13879 |
12794 |
0 |
Beige |
| 617 |
13884 |
12800 |
0 |
Soft Honey |
| 617 |
13885 |
12782 |
0 |
Almond |
| 617 |
13897 |
12808 |
0 |
Spring |
| 617 |
13899 |
12788 |
0 |
Dark |