Query time 0.00100
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.07261882,
"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": 58,
"cost": 0.01515365,
"filtered": 41.37931061,
"attached_condition": "c.product_id in (179151,179150,786964,486447,490232,490233,656537,657781,659382,310629,786962,486444,185586,320712,320923,321175,310630,486446,675690,688310,8,9,10,786963)",
"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_abhi.c.option_id"],
"loops": 24,
"rows": 1,
"cost": 0.02228576,
"filtered": 93.33333588,
"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_abhi.c.option_id", "const"],
"loops": 22.4,
"rows": 1,
"cost": 0.020854656,
"filtered": 100,
"attached_condition": "trigcond(b.lang_code = 'en')"
}
}
]
}
}
}
}