{
"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 (47365,47199,47363,47200,47195,47198,47366,47201,47357,47358,47196,47360,48757,47359,47364,47361,48758,48621,49544,49183,48168,47362,48938,48624,48674,48755,48629,48622,48157,48627,48631,48834) 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')"
}
}
]
}
}