Query time 0.00051
JSON explain
{
"query_block": {
"select_id": 1,
"read_sorted_file": {
"filesort": {
"sort_key": "a.position",
"table": {
"table_name": "a",
"access_type": "ref",
"possible_keys": ["PRIMARY", "c_status"],
"key": "c_status",
"key_length": "6",
"used_key_parts": ["product_id", "status"],
"ref": ["const", "const"],
"rows": 1,
"filtered": 100,
"index_condition": "a.`status` = 'A'",
"attached_condition": "a.product_id <=> 0 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": ["vietpom_dev.a.option_id", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'vi')"
},
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["vietpom_dev.a.option_id"],
"rows": 1,
"filtered": 100,
"attached_condition": "c.product_id in (77,82,84,85,83,87,89,92,93,78,169,75)",
"using_index": true
}
}
}