Query time 0.01657
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": 72,
"attached_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (16555,16554,16553,16552,16551,5589,16831,16830,16829,16828,16827,5447,18323,18322,18321,4365,16796,16795,16794,16793,16792,5469,18241,18240,18239,18238,4468,18344,18343,18342,4358,16809,16808,16807,16806,16805,16804,16803,5464,16786,16785,16784,16783,16782,5474,15668,15667,15666,15665,15664,15663,5962,18245,4464,18326,18325,18324,4364,18243,4466,47280,47319,47320,18341,18340,18339,4359,16767,16766,16765,16764,16763,5481,16817,16816,16815,16814,5459,18347,18346,18345,4357,18242,4467,16762,16761,16760,16759,16758,5483)"
}
}
}
},
{
"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))"
}
}
]
}
}