Query time 0.00068
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": 12,
"filtered": 100,
"attached_condition": "gp.group_id in (2551241,2551245)",
"using_index": true
},
"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": ["staging2_wesave_com.gp.group_id"],
"rows": 1,
"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": "product_id",
"key_length": "6",
"used_key_parts": ["product_id", "feature_id"],
"ref": [
"staging2_wesave_com.gp.product_id",
"staging2_wesave_com.gpf.feature_id"
],
"rows": 1,
"filtered": 49.99996948,
"attached_condition": "pfv.lang_code = 'en'",
"using_index": true
}
}
}
Result
feature_id |
product_id |
variant_id |
group_id |
3569 |
630411 |
6249 |
2551241 |
3570 |
630411 |
6252 |
2551241 |
3569 |
630412 |
6249 |
2551241 |
3570 |
630412 |
6253 |
2551241 |
3569 |
630413 |
6250 |
2551241 |
3570 |
630413 |
6252 |
2551241 |
3569 |
630414 |
6250 |
2551241 |
3570 |
630414 |
6253 |
2551241 |
3569 |
630415 |
6251 |
2551241 |
3570 |
630415 |
6252 |
2551241 |
3569 |
630416 |
6251 |
2551241 |
3570 |
630416 |
6253 |
2551241 |
3578 |
630441 |
6275 |
2551245 |
3579 |
630441 |
6278 |
2551245 |
3578 |
630442 |
6275 |
2551245 |
3579 |
630442 |
6279 |
2551245 |
3578 |
630443 |
6276 |
2551245 |
3579 |
630443 |
6278 |
2551245 |
3578 |
630444 |
6276 |
2551245 |
3579 |
630444 |
6279 |
2551245 |
3578 |
630445 |
6277 |
2551245 |
3579 |
630445 |
6278 |
2551245 |
3578 |
630446 |
6277 |
2551245 |
3579 |
630446 |
6279 |
2551245 |