Query time 0.00066
JSON explain
{
"query_block": {
"select_id": 1,
"cost": 0.047070462,
"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": 13,
"cost": 0.0129738,
"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": 13,
"rows": 1,
"cost": 0.01244692,
"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": 13,
"rows": 1,
"cost": 0.01335861,
"filtered": 100,
"attached_condition": "c.product_id in (435351,456510,404001,413818,442117,433550,450230,439049,414690,448070,414544,431904,404473,422990,448236,413068,425901,407405,406178,437072,430766,447574,460572,460325,406193,451309,446162,438117,439044,406083,415033,460158,422354,409660,453640,424754,410340,417422,422439,422004,421990,446415,436834,440447,410009,439533,411516,442635,442715,430741,406089,410471,409489,412459,424229,448141,452096,435935,450361,410461,454777,444113,417555,428819,454049,459252,405167,401806,425534,458860,447690,422606,413386,442183,419735,432464,440571,426931,418909,439791,454556,443028,452359,449330,402443,418233,438218,431841,439184,457686,448158,426138,428377,411651,455838,431788)"
}
}
]
}
}