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 = 'en' 
WHERE 
  cscart_images_links.object_type = 'product' 
  AND cscart_images_links.type = 'M' 
  AND cscart_images_links.object_id IN (
    69458, 69463, 69461, 69459, 69460, 68908, 
    68911, 68913, 68914, 68912, 68910, 
    68936, 68938, 68921, 68924, 68935, 
    68929, 68925, 68931, 68923, 68926, 
    68922, 68932, 68927, 68928, 68934, 
    68902, 68903, 68904, 68906, 68907, 
    68888, 68889, 68893, 68890, 68894, 
    69486, 69485, 69380
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00222

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "163.83"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "39.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id",
              "idx_object_type_type_position"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 39,
            "rows_produced_per_join": 39,
            "filtered": "100.00",
            "index_condition": "((`cscart_db`.`cscart_images_links`.`object_type` = 'product') and (`cscart_db`.`cscart_images_links`.`type` = 'M') and (`cscart_db`.`cscart_images_links`.`object_id` in (69458,69463,69461,69459,69460,68908,68911,68913,68914,68912,68910,68936,68938,68921,68924,68935,68929,68925,68931,68923,68926,68922,68932,68927,68928,68934,68902,68903,68904,68906,68907,68888,68889,68893,68890,68894,69486,69485,69380)))",
            "cost_info": {
              "read_cost": "54.98",
              "eval_cost": "3.90",
              "prefix_cost": "58.88",
              "data_read_per_join": "3K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "cscart_db.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 39,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "30.10",
              "eval_cost": "3.90",
              "prefix_cost": "92.88",
              "data_read_per_join": "29K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "table": {
            "table_name": "cscart_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "cscart_db.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 39,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "28.05",
              "eval_cost": "3.90",
              "prefix_cost": "124.83",
              "data_read_per_join": "23K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(cscart_common_descriptions), (`cscart_db`.`cscart_common_descriptions`.`object_id` = `cscart_db`.`cscart_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

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 uc_9ean-qa.jpg 800 800 N 200606 68888 product 201890 M 0 201890
0 uc_sa0u-eh.jpg 800 800 N 200617 68889 product 201901 M 0 201901
0 uc_0xx9-v3.jpg 800 800 N 200628 68890 product 201912 M 0 201912
0 uc_iduz-7x.jpg 800 800 N 200661 68893 product 201945 M 0 201945
0 uc_3uws-gi.jpg 800 800 N 200672 68894 product 201956 M 0 201956
0 uc_nnnd-4h.jpg 800 800 N 200760 68902 product 202044 M 0 202044
0 uc_n3rt-bk.jpg 800 800 N 200770 68903 product 202054 M 0 202054
0 uc_5r0n-1k.jpg 800 800 N 200781 68904 product 202065 M 0 202065
0 uc_q385-dh.jpg 800 800 N 200803 68906 product 202087 M 0 202087
0 uc_2i03-9t.jpg 800 800 N 200814 68907 product 202098 M 0 202098
0 uc_tmn6-64.jpg 800 800 N 200825 68908 product 202109 M 0 202109
0 uc_wbu3-l6.jpg 800 800 N 200848 68910 product 202132 M 0 202132
0 uc_gxqi-11.jpg 800 800 N 200861 68911 product 202145 M 0 202145
0 uc_13wo-gc.jpg 800 800 N 200872 68912 product 202156 M 0 202156
0 uc_waxc-m8.jpg 800 800 N 200883 68913 product 202167 M 0 202167
0 uc_jj3m-ii.jpg 800 800 N 200895 68914 product 202179 M 0 202179
0 uc_nvk2-62.jpg 800 800 N 200929 68921 product 202213 M 0 202213
0 uc_909b-31.jpg 800 800 N 200937 68922 product 202221 M 0 202221
0 uc_fstb-4u.jpg 800 800 N 200944 68923 product 202228 M 0 202228
0 uc_j8rz-pc.jpg 800 800 N 200954 68924 product 202238 M 0 202238
0 uc_bw6n-z5.jpg 800 800 N 200964 68925 product 202248 M 0 202248
0 uc_9bj2-ow.jpg 800 800 N 200965 68926 product 202249 M 0 202249
0 uc_6a3t-j0.jpg 800 800 N 200983 68927 product 202267 M 0 202267
0 uc_h2vj-ej.jpg 800 800 N 200985 68928 product 202269 M 0 202269
0 uc_4kw3-rv.jpg 800 800 N 200994 68929 product 202278 M 0 202278
0 uc_p17i-i7.jpg 800 800 N 201013 68931 product 202297 M 0 202297
0 uc_3vr0-1t.jpg 800 800 N 201023 68932 product 202307 M 0 202307
0 uc_ws15-fl.jpg 800 800 N 201041 68934 product 202325 M 0 202325
0 uc_hzb9-hy.jpg 800 800 N 201048 68935 product 202332 M 0 202332
0 uc_hrhp-w8.jpg 800 800 N 201059 68936 product 202343 M 0 202343
0 uc_q5x7-3s.jpg 800 800 N 201079 68938 product 202363 M 0 202363
0 61wlXUPeJxL._SL1500_.jpg 1500 1500 N 206416 69380 product 207700 M 0 207700
0 color_lasting_glow_stick__1_Front_240621_wax3-0m.jpg 2868 4848 N 208064 69458 product 209339 M 0 209339
0 color_lasting_glow_stick__2_Front_240621_55jr-4g.jpg 2868 4848 N 208072 69459 product 209347 M 0 209347
0 color_lasting_glow_stick__3_Front_240621.jpg 2868 4848 N 208080 69460 product 209355 M 0 209355
0 color_lasting_glow_stick__4_Front_240621.jpg 2868 4848 N 208091 69461 product 209366 M 0 209366
0 color_lasting_glow_stick__6_Front_240621.jpg 2868 4848 N 208107 69463 product 209382 M 0 209382
0 17c2f898809820698129_1.png 800 800 N 208300 69485 product 209575 M 0 209575
0 17c2f898809820698136_1.png 800 800 N 208311 69486 product 209586 M 0 209586