Query time 0.00054
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.055061951,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "a.position",
"table": {
"table_name": "a",
"access_type": "ALL",
"possible_keys": ["PRIMARY", "c_status"],
"loops": 1,
"rows": 16,
"cost": 0.0134628,
"filtered": 100,
"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": ["u985510652_ecartify.a.option_id", "const"],
"loops": 16,
"rows": 1,
"cost": 0.01513024,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
},
{
"table": {
"table_name": "c",
"access_type": "ref",
"possible_keys": ["PRIMARY", "product_id"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["u985510652_ecartify.a.option_id"],
"loops": 16,
"rows": 1,
"cost": 0.01625232,
"filtered": 100,
"attached_condition": "c.product_id in (422451,420738,440135,427608,430254,422033,405045,420628,445650,409275,417856,421213,459072,434781,459407,447088,436478,422140,428560,456487,411199,403278,449543,407451)"
}
}
]
}
}