{
"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 (3519,6198,48069,2669,854,44767,45446,4117,31965,26892,37317,4119,41284,4118,35740,6651,4120,1519,36762,26895,45357,23050,26894,26891,26887,23044,23017,26889,26898,26897,23047,26876) 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')"
}
}
]
}
}