{
"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": 30,
"filtered": 100,
"index_condition": "a.product_id in (3866,3867,3868,3869,3865,3870,3872,3871,3876,3862,3863,35730,3864,3861,35731,3873,47984,3874,3884,3875,3880,3877,3859,3879,35729,3881,3860,3883,3882,35859) 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')"
}
}
]
}
}