Query time 0.00036
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.00759149,
"nested_loop": [
{
"table": {
"table_name": "gpf",
"access_type": "ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["const"],
"loops": 1,
"rows": 1,
"cost": 0.001792605,
"filtered": 100,
"using_index": true
}
},
{
"table": {
"table_name": "gp",
"access_type": "ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"ref": ["const"],
"loops": 1,
"rows": 3,
"cost": 0.002085975,
"filtered": 100,
"using_index": true
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["feature_id", "product_id"],
"ref": [
"u508912950_dev_2025.gpf.feature_id",
"u508912950_dev_2025.gp.product_id"
],
"loops": 3,
"rows": 1,
"cost": 0.00371291,
"filtered": 100,
"attached_condition": "pfv.lang_code = 'en'"
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 607 |
13921 |
12636 |
147 |
| 607 |
13922 |
12638 |
147 |
| 607 |
13923 |
12640 |
147 |