Query time 0.00176
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": 110,
"filtered": 83.63636017,
"attached_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (23030,1535,41429,41478,41479,41480,47103,47102,47012,37098,37143,37140,37141,37142,37137,37138,37139,37134,37135,37136,26892,32721,32722,32723,32724,32725,48998,37131,37130,37132,37133,37129,37128,37127,37126,37125,37092,37121,37122,37124,37123,49808,41291,32558,26880,32557,32556,32559,32560,35740,33702,33776,1484,33559,33560,33561,37096,37176,37181,37191,37196,37201,37206,37215,37220,37225,37230,37235,37240,37245,37250,37211,37212,37213,37214,37120,37109,37110,37108,37112,37111,37117,37115,37114,37119,37116,37118,37093,37113,41308,41307,41279)"
}
}
}
},
{
"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))"
}
}
]
}
}