Query time 0.00040
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.015489715,
"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": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "fl",
"key_length": "9",
"used_key_parts": ["feature_id", "lang_code"],
"ref": ["u508912950_dev_2025.gpf.feature_id", "const"],
"loops": 1,
"rows": 11,
"cost": 0.003259455,
"filtered": 100,
"attached_condition": "pfv.lang_code = 'en'",
"using_index": true
}
},
{
"table": {
"table_name": "gp",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "6",
"used_key_parts": ["group_id", "product_id"],
"ref": ["const", "u508912950_dev_2025.pfv.product_id"],
"loops": 11,
"rows": 1,
"cost": 0.010437655,
"filtered": 100,
"using_index": true
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 618 |
13951 |
12819 |
155 |
| 618 |
13952 |
12821 |
155 |
| 618 |
13953 |
12823 |
155 |
| 618 |
13954 |
12825 |
155 |
| 618 |
13955 |
12827 |
155 |
| 618 |
13956 |
12829 |
155 |
| 618 |
13957 |
12831 |
155 |
| 618 |
13958 |
12833 |
155 |
| 618 |
13959 |
12835 |
155 |
| 618 |
13960 |
12837 |
155 |
| 618 |
13961 |
12839 |
155 |
| 618 |
13962 |
12841 |
155 |