Query time 0.00079
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": 24,
"filtered": 100,
"index_condition": "gp.group_id in (6,17,75,73,24)"
},
"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": ["herbaria_cscart_4_18.gp.group_id"],
"rows": 1,
"filtered": 100
},
"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": [
"herbaria_cscart_4_18.gpf.feature_id",
"herbaria_cscart_4_18.gp.product_id"
],
"rows": 1,
"filtered": 100,
"attached_condition": "pfv.lang_code = 'en'",
"using_index": true
}
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
40 |
298 |
6264 |
6 |
41 |
298 |
6267 |
6 |
40 |
427 |
6264 |
6 |
41 |
427 |
6268 |
6 |
40 |
428 |
6265 |
6 |
41 |
428 |
6267 |
6 |
40 |
429 |
6265 |
6 |
41 |
429 |
6268 |
6 |
40 |
430 |
6266 |
6 |
41 |
430 |
6267 |
6 |
40 |
431 |
6266 |
6 |
41 |
431 |
6268 |
6 |
55 |
55 |
6316 |
17 |
55 |
506 |
6315 |
17 |
61 |
519 |
6431 |
24 |
61 |
518 |
6429 |
24 |
61 |
194 |
6430 |
24 |
60 |
486 |
6427 |
73 |
60 |
1840 |
6426 |
73 |
60 |
1841 |
6425 |
73 |
60 |
1842 |
6428 |
73 |
60 |
1843 |
6424 |
73 |
60 |
5473 |
7164 |
73 |
78 |
504 |
6975 |
75 |
78 |
1853 |
6977 |
75 |
78 |
1854 |
6978 |
75 |
78 |
1855 |
6976 |
75 |
78 |
5474 |
7165 |
75 |