{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "a.position",
"table": {
"table_name": "a",
"access_type": "range",
"possible_keys": ["c_status"],
"key": "c_status",
"key_length": "6",
"used_key_parts": ["product_id", "status"],
"rows": 32,
"filtered": 100,
"index_condition": "a.product_id in (3661,47172,3637,33362,31962,2453,27367,35480,48683,48677,45574,48684,31961,33359,26896,33363,45571,35482,2454,49199,5236,36765,47967,35486,828,33360,40928,5828,45569,48680,33361,48541) and a.`status` = 'A'"
}
}
}
},
{
"table": {
"table_name": "b",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "9",
"used_key_parts": ["option_id", "lang_code"],
"ref": ["dev_db.a.option_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'vi')"
}
}
]
}
}