Query time 0.00050
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": 2,
"filtered": 100,
"attached_condition": "gp.group_id in (238842,115828)",
"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": "lang_code",
"key_length": "12",
"used_key_parts": ["lang_code", "feature_id", "product_id"],
"ref": [
"const",
"staging2_wesave_com.gpf.feature_id",
"staging2_wesave_com.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 |
549 |
258041 |
338 |
115828 |
549 |
416418 |
234 |
238842 |