SELECT 
  cscart_images.*, 
  cscart_images_links.*, 
  cscart_common_descriptions.description AS alt, 
  cscart_images.image_id AS images_image_id 
FROM 
  cscart_images_links 
  LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id 
  LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id 
  AND cscart_common_descriptions.object_holder = 'images' 
  AND cscart_common_descriptions.lang_code = 'ja' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    145, 287, 288, 133, 277, 278, 139, 191, 
    192, 113, 281, 282, 136, 179, 180, 115, 
    279, 280, 148, 289, 290, 144, 275, 276, 
    143, 226, 227, 141, 158, 159, 111, 213, 
    216, 211, 212, 147, 195, 196
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00128

JSON explain

{
  "query_block": {
    "select_id": 1,
    "read_sorted_file": {
      "filesort": {
        "sort_key": "cscart_images_links.position, cscart_images_links.pair_id",
        "table": {
          "table_name": "cscart_images_links",
          "access_type": "range",
          "possible_keys": ["object_id"],
          "key": "object_id",
          "key_length": "81",
          "used_key_parts": ["object_id", "object_type", "type"],
          "rows": 38,
          "filtered": 100,
          "index_condition": "cscart_images_links.object_type = 'product' and cscart_images_links.`type` = 'M' and cscart_images_links.object_id in (145,287,288,133,277,278,139,191,192,113,281,282,136,179,180,115,279,280,148,289,290,144,275,276,143,226,227,141,158,159,111,213,216,211,212,147,195,196)"
        }
      }
    },
    "table": {
      "table_name": "cscart_images",
      "access_type": "eq_ref",
      "possible_keys": ["PRIMARY"],
      "key": "PRIMARY",
      "key_length": "4",
      "used_key_parts": ["image_id"],
      "ref": ["cscart_purchase_fl_com.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": "108",
      "used_key_parts": ["object_id", "lang_code", "object_holder"],
      "ref": ["cscart_purchase_fl_com.cscart_images.image_id", "const", "const"],
      "rows": 1,
      "filtered": 100,
      "attached_condition": "trigcond(cscart_common_descriptions.object_holder = 'images' and cscart_common_descriptions.lang_code = 'ja' and trigcond(cscart_images.image_id is not null))"
    }
  }
}

Result

image_id image_path image_x image_y is_high_res pair_id object_id object_type detailed_id type position alt images_image_id
0 over_the_sky_peace_freedom_close.jpg 1000 1000 N 228 159 product 8768 M 0 8768
0 Panda_Come_Together_close.jpg 1000 1000 N 338 180 product 8786 M 0 8786
0 Thailand_Colour_Unlock_Me_close.jpg 1000 1000 N 392 196 product 8804 M 0 8804
0 Flute_Panda_close.jpg 1000 1000 N 560 212 product 8863 M 0 8863
0 over_the_sky_STRIKE_close.jpg 1000 1000 N 619 227 product 8874 M 0 8874
0 Thailand_Colour_Unlock_Me_close_lasc-ze.jpg 1000 1000 N 657 195 product 8884 M 0 8884
0 Panda_Behind_the_scene_close.jpg 1000 1000 N 808 278 product 8926 M 0 8926
0 tentsunagi_robot_close.jpg 1000 1000 N 817 280 product 8930 M 0 8930
0 black_white_animal_close.jpg 1000 1000 N 831 281 product 8939 M 0 8939
0 Thailand_Colour_creater_destory_close.jpg 1000 1000 N 864 288 product 8952 M 0 8952
0 iamfamous_to-do_list_close.jpg 1000 1000 N 870 290 product 8954 M 0 8954
0 Flute_Panda_close_z1n1-zz.jpg 1000 1000 N 1139 111 product 9220 M 0 9220
0 black_white_animal_close_h54s-bm.jpg 1000 1000 N 1141 113 product 9222 M 0 9222
0 tentsunagi_robot_close_dqna-q4.jpg 1000 1000 N 1143 115 product 9224 M 0 9224
0 iamfamous_to-do_list_close_xx3p-cu.jpg 1000 1000 N 1144 289 product 9225 M 0 9225
0 Panda_Behind_the_scene_close_mfte-ly.jpg 1000 1000 N 1152 133 product 9233 M 0 9233
0 Panda_Come_Together_close_mv19-19.jpg 1000 1000 N 1155 136 product 9236 M 0 9236
0 Panda_Smoking_panda_close_3tk8-jo.jpg 1000 1000 N 1157 139 product 9238 M 0 9238
0 over_the_sky_peace_freedom_close_57hi-dc.jpg 1000 1000 N 1159 141 product 9240 M 0 9240
0 over_the_sky_STRIKE_close_ezqm-xc.jpg 1000 1000 N 1161 143 product 9242 M 0 9242
0 Thailand_Colour_creater_destory_close_23hx-qs.jpg 1000 1000 N 1162 145 product 9243 M 0 9243
0 iamfamous_to-do_list_close_byvp-3o.jpg 1000 1000 N 1164 148 product 9245 M 0 9245
0 over_the_sky_peace_freedom_close_7ksm-yw.jpg 1000 1000 N 1167 158 product 9248 M 0 9248
0 Panda_Come_Together_close_7lvx-c0.jpg 1000 1000 N 1168 179 product 9249 M 0 9249
0 Panda_Smoking_panda_a3sr-gh.jpg 1000 1000 N 1179 191 product 9260 M 0 9260
0 Panda_Smoking_panda_himl-r0.jpg 1000 1000 N 1180 192 product 9261 M 0 9261
0 black_white_animal_close_ga1p-yo.jpg 1000 1000 N 1185 282 product 9266 M 0 9266
0 Flute_Panda_close_vwgp-1a.jpg 1000 1000 N 1187 211 product 9268 M 0 9268
0 Flute_Panda_blue_close_8zke-l1.jpg 1000 1000 N 1188 213 product 9269 M 0 9269
0 Flute_Panda_Gray_close_yvek-wu.jpg 1000 1000 N 1190 216 product 9271 M 0 9271
0 over_the_sky_STRIKE_close_jm0j-xn.jpg 1000 1000 N 1195 226 product 9276 M 0 9276
0 Panda_Behind_the_scene_close_ht73-ob.jpg 1000 1000 N 1200 277 product 9281 M 0 9281
0 tentsunagi_robot_close_dpkk-gz.jpg 1000 1000 N 1201 279 product 9282 M 0 9282
0 Thailand_Colour_creater_destory_close_gqye-mj.jpg 1000 1000 N 1204 287 product 9285 M 0 9285
0 over_the_sky_Hellow_World__close.jpg 1000 1000 N 1212 144 product 9293 M 0 9293
0 Thailand_Colour_Unlock_Me_close_e8gd-pm.jpg 1000 1000 N 1216 147 product 9297 M 0 9297
0 over_the_sky_Hellow_World__close_3ww1-2f.jpg 1000 1000 N 1264 275 product 9345 M 0 9345
0 over_the_sky_Hellow_World__close_xzgm-3h.jpg 1000 1000 N 1266 276 product 9347 M 0 9347