Query time 0.00084
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": 33,
"filtered": 100,
"index_condition": "gp.group_id in (17,48,73,28,49,23,20)"
},
"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 |
55 |
55 |
6316 |
17 |
55 |
506 |
6315 |
17 |
56 |
92 |
6320 |
20 |
56 |
510 |
6321 |
20 |
60 |
143 |
6418 |
23 |
60 |
516 |
6419 |
23 |
60 |
517 |
6420 |
23 |
60 |
5477 |
7164 |
23 |
58 |
530 |
6331 |
28 |
66 |
530 |
6454 |
28 |
58 |
529 |
6331 |
28 |
66 |
529 |
6453 |
28 |
58 |
528 |
6330 |
28 |
66 |
528 |
6454 |
28 |
58 |
527 |
6330 |
28 |
66 |
527 |
6453 |
28 |
58 |
526 |
6329 |
28 |
66 |
526 |
6454 |
28 |
58 |
280 |
6329 |
28 |
66 |
280 |
6453 |
28 |
70 |
337 |
6505 |
48 |
70 |
1562 |
6501 |
48 |
70 |
1563 |
6504 |
48 |
70 |
1564 |
6506 |
48 |
69 |
339 |
6475 |
49 |
69 |
1565 |
6476 |
49 |
69 |
1566 |
6477 |
49 |
69 |
1567 |
6478 |
49 |
69 |
1568 |
6479 |
49 |
69 |
1569 |
6480 |
49 |
69 |
1570 |
6481 |
49 |
69 |
5556 |
7168 |
49 |
60 |
486 |
6427 |
73 |
60 |
1840 |
6426 |
73 |
60 |
1841 |
6425 |
73 |
60 |
1842 |
6428 |
73 |
60 |
1843 |
6424 |
73 |
60 |
5473 |
7164 |
73 |