Query time 0.00325
JSON explain
{
"query_block": {
"select_id": 1,
"nested_loop": [
{
"read_sorted_file": {
"filesort": {
"sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
"table": {
"table_name": "cscart_images_links",
"access_type": "ALL",
"possible_keys": ["object_id"],
"rows": 125,
"filtered": 68,
"attached_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (22401,1896,22403,1894,40818,49865,49873,49871,49869,49875,49874,24117,24116,24115,1057,22765,1716,43834,43824,43835,43836,43837,43838,22402,1895,22773,1715,16618,16617,5547,43831,43830,43833,43832,43823,21782,21781,21780,2134,16616,16615,5548,46788,46737,46787,46786,46785,46784,46783,46782,46781,16600,16599,5556,16608,16607,16604,16603,5554,16610,16609,5551,16606,16605,5553,46773,46739,46772,46771,46770,46769,46768,46767,46766,16602,16601,16612,14959,14958,14957,14956,6529,21601,21600,2234)"
}
}
}
},
{
"table": {
"table_name": "cscart_images",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "4",
"used_key_parts": ["image_id"],
"ref": ["dev_db.cscart_images_links.detailed_id"],
"rows": 1,
"filtered": 100
}
},
{
"table": {
"table_name": "cscart_common_descriptions",
"access_type": "eq_ref",
"possible_keys": ["PRIMARY"],
"key": "PRIMARY",
"key_length": "107",
"used_key_parts": ["object_id", "lang_code", "object_holder"],
"ref": ["dev_db.cscart_images.image_id", "const", "const"],
"rows": 1,
"filtered": 100,
"attached_condition": "trigcond(cscart_common_descriptions.object_id = cscart_images.image_id and cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'vi' and trigcond(cscart_images.image_id is not null))"
}
}
]
}
}