Query time 0.00267
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": 60,
"attached_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (52,26619,22546,22545,22544,22543,1836,45503,45536,45537,45538,45539,45540,45541,45542,45543,45544,31972,31967,31872,31977,31982,31986,31987,31988,31989,23402,23403,23404,40683,48705,48706,1328,23401,24111,1059,22536,22535,22534,22550,22549,22548,22547,1835,15648,5986,48768,48772,48773,48774,48775,19271,19270,21756,18599,4116,41334,41333,19282,19281,3528,1408,35971,35970,35969,29974,29975,29698,24114,24113,24112,1058,19290,19289,3524)"
}
}
}
},
{
"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))"
}
}
]
}
}