Query time 0.00059
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.083832768,
"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": 15,
"cost": 0.0132998,
"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.a.option_id", "const"],
"loops": 14,
"rows": 1,
"cost": 0.01334136,
"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_abhi.a.option_id"],
"loops": 14,
"rows": 4,
"cost": 0.02116918,
"filtered": 100,
"attached_condition": "c.product_id in (136148,156245,169350,125861,121541,125358,166388,176206,128666,144027,135084,147929,137775,162201,162374,140024,138561,121611,140621,152862,153509,147521,168171,167399,139090,167892,127893,147127,162848,131644,140421,176104,161448,163922,170128,171082,129799,127984,174711,177274,178269,174300,174754,156211,138083,162403,137980,164363,174918,128079,123405,133420,163798,124572,168150,165296,144439,168488,141192,161314,159883,144844,174912,139130)"
}
}
]
}
}