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 (
    37995, 37998, 38253, 38685, 64568, 64572, 
    65373, 67029, 67040, 67317, 67586, 
    67667, 67701, 68434, 68506, 68607, 
    68787, 68792, 69072, 69088, 69518, 
    69834, 69931, 70093
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00136

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "110.89"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "24.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": 24,
            "rows_produced_per_join": 24,
            "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 (37995,37998,38253,38685,64568,64572,65373,67029,67040,67317,67586,67667,67701,68434,68506,68607,68787,68792,69072,69088,69518,69834,69931,70093)))",
            "cost_info": {
              "read_cost": "42.09",
              "eval_cost": "2.40",
              "prefix_cost": "44.49",
              "data_read_per_join": "2K"
            },
            "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": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "19.46",
              "eval_cost": "2.40",
              "prefix_cost": "66.36",
              "data_read_per_join": "18K"
            },
            "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": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "18.14",
              "eval_cost": "2.40",
              "prefix_cost": "86.89",
              "data_read_per_join": "14K"
            },
            "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 HPM_LC_1_i33m-cn.jpg 2000 2000 N 166701 37995 product 168050 M 0 168050
0 SPHM_LC_1.jpg 5760 5760 N 166812 37998 product 168161 M 0 168161
0 60100075-1.jpg 1000 1000 N 167870 38253 product 169219 M 0 169219
0 1_f150-7c.jpg 1500 1500 N 169434 38685 product 170783 M 0 170783
0 1_jb34-3d.jpg 1500 1500 N 172874 64568 product 174220 M 0 174220
0 1_wg43-2j.jpg 1500 1500 N 172902 64572 product 174248 M 0 174248
0 KAINEVEGANCOLLAGENYOUTHCREAM50ML.webp 713 713 N 177215 65373 product 178561 M 0 178561
0 f69bd6b8806182529405.png 800 800 N 186030 67029 product 187376 M 0 187376
0 51dotoVjnrL._SL1000_.jpg 1000 1000 N 186101 67040 product 187447 M 0 187447
0 1_d2m3-xx.jpg 1200 1200 N 189558 67667 product 190896 M 0 190896
0 front_cover_ycvy-ms.jpg 1000 1000 N 190627 67701 product 191965 M 0 191965
0 8908023711052__10_.jpg 600 600 N 190980 67317 product 192318 M 0 192318
0 718FaMF9k0L._SL1500_.jpg 1500 484 N 197117 68434 product 198455 M 0 198455
0 uc_gh1s-ws.webp 1200 1200 N 197312 67586 product 198650 M 0 198650
0 uc_uhg6-5k.png 4000 4000 N 197821 68506 product 199159 M 0 199159
0 uc_pz6t-se.jpg 800 800 N 198576 68607 product 199860 M 0 199860
0 uc_y4ul-1l.jpg 1500 1500 N 200056 68787 product 201340 M 0 201340
0 uc_0let-bq.jpg 1500 1500 N 200101 68792 product 201385 M 0 201385
0 uc_h2go-9h.jpg 2250 2250 N 203008 69072 product 204292 M 0 204292
0 uc_qr4e-ln.jpg 2250 2250 N 203141 69088 product 204425 M 0 204425
0 uc_2i55-56.jpg 3264 3263 N 207652 69518 product 208927 M 0 208927
0 uc_oj1o-sv.jpg 1000 1000 N 209780 69834 product 211055 M 0 211055
0 uc_i9nr-8s.png 2000 2000 N 210696 69931 product 211971 M 0 211971
0 3350900000011_7.jpg 1200 1200 N 213085 70093 product 214360 M 0 214360