Query time 0.00037
JSON explain
{
"query_block": {
"select_id": 1,
"table": {
"table_name": "gp",
"access_type": "range",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "idx_group_id",
"key_length": "3",
"used_key_parts": ["group_id"],
"rows": 14,
"filtered": 100,
"index_condition": "gp.group_id in (33,29)"
},
"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": "3",
"used_key_parts": ["product_id"],
"ref": ["cscart_purchase_fl_com.gp.product_id"],
"rows": 11,
"filtered": 58.7939682,
"attached_condition": "pfv.lang_code = 'ja'",
"using_index": true
},
"table": {
"table_name": "gpf",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "idx_group_id"],
"key": "PRIMARY",
"key_length": "6",
"used_key_parts": ["feature_id", "group_id"],
"ref": [
"cscart_purchase_fl_com.pfv.feature_id",
"cscart_purchase_fl_com.gp.group_id"
],
"rows": 1,
"filtered": 100,
"using_index": true
}
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
7 |
201 |
19 |
29 |
8 |
201 |
26 |
29 |
7 |
204 |
20 |
29 |
8 |
204 |
27 |
29 |
7 |
203 |
20 |
29 |
8 |
203 |
26 |
29 |
7 |
202 |
19 |
29 |
8 |
202 |
27 |
29 |
7 |
200 |
18 |
29 |
8 |
200 |
27 |
29 |
7 |
135 |
18 |
29 |
8 |
135 |
26 |
29 |
7 |
220 |
19 |
33 |
8 |
220 |
26 |
33 |
7 |
219 |
18 |
33 |
8 |
219 |
27 |
33 |
7 |
134 |
18 |
33 |
8 |
134 |
26 |
33 |
7 |
221 |
19 |
33 |
8 |
221 |
27 |
33 |
7 |
222 |
20 |
33 |
8 |
222 |
26 |
33 |
7 |
223 |
20 |
33 |
8 |
223 |
27 |
33 |