Query time 0.00085
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.040481148,
"filesort": {
"sort_key": "a.position",
"temporary_table": {
"nested_loop": [
{
"table": {
"table_name": "c",
"access_type": "index",
"possible_keys": ["PRIMARY", "product_id"],
"key": "product_id",
"key_length": "3",
"used_key_parts": ["product_id"],
"loops": 1,
"rows": 21,
"cost": 0.009726305,
"filtered": 57.1428566,
"attached_condition": "c.product_id in (313042,313043,313044,313045,313046,313047,313048,313013,313049,313050,313051,313052)",
"using_index": true
}
},
{
"table": {
"table_name": "a",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY", "c_status"],
"key": "PRIMARY",
"key_length": "3",
"used_key_parts": ["option_id"],
"ref": ["u985510652_ecartify.c.option_id"],
"loops": 12,
"rows": 1,
"cost": 0.01155248,
"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.c.option_id", "const"],
"loops": 12,
"rows": 1,
"cost": 0.01155248,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
]
}
}
}
}