Query time 0.00056
JSON explain
{
"query_block": {
"select_id": 1,
"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"],
"rows": 1,
"filtered": 100
}
},
{
"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"],
"rows": 31,
"filtered": 100
}
},
{
"table": {
"table_name": "pfv",
"access_type": "ref",
"possible_keys": [
"PRIMARY",
"fl",
"lang_code",
"product_id",
"fpl",
"idx_product_feature_variant_id"
],
"key": "idx_product_feature_variant_id",
"key_length": "12",
"used_key_parts": ["product_id", "feature_id", "lang_code"],
"ref": [
"lillyshop_lillyshop.gp.product_id",
"lillyshop_lillyshop.gpf.feature_id",
"const"
],
"rows": 1,
"filtered": 100,
"attached_condition": "pfv.lang_code = 'ru'",
"using_index": true
}
}
]
}
}
Result
| feature_id |
product_id |
variant_id |
group_id |
| 84 |
20188 |
3085 |
88 |
| 84 |
20331 |
3089 |
88 |
| 84 |
21515 |
4901 |
88 |
| 84 |
20586 |
3104 |
88 |
| 84 |
20647 |
3089 |
88 |
| 84 |
20635 |
3686 |
88 |
| 84 |
20637 |
3099 |
88 |
| 84 |
20638 |
3089 |
88 |
| 84 |
20639 |
3100 |
88 |
| 84 |
20640 |
3686 |
88 |
| 84 |
20643 |
3100 |
88 |
| 84 |
20645 |
4922 |
88 |
| 84 |
20646 |
3097 |
88 |
| 84 |
20648 |
3099 |
88 |
| 84 |
20649 |
3089 |
88 |
| 84 |
20650 |
3101 |
88 |