{
"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 (350,1044,351,3992,4373,2155,23481,36474,1358,38136,3981,4383,3982,2248,36303,38151,4384,36302,49186,2247,36308,2152,4376,1847,38553,36301,2251,36305,5632,33809,1841,43651) 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')"
}
}
]
}
}