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 (
    65396, 66114, 66115, 65399, 66116, 65457, 
    66157, 65395, 65459, 66131, 66161, 
    66132, 66160, 66104, 66105, 66111, 
    66990, 65482, 66167, 66101, 65387, 
    65410, 65418, 66136
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00099

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "98.42"
    },
    "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 (65396,66114,66115,65399,66116,65457,66157,65395,65459,66131,66161,66132,66160,66104,66105,66111,66990,65482,66167,66101,65387,65410,65418,66136)))",
            "cost_info": {
              "read_cost": "35.50",
              "eval_cost": "2.40",
              "prefix_cost": "37.90",
              "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": "17.22",
              "eval_cost": "2.40",
              "prefix_cost": "57.53",
              "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": "14.49",
              "eval_cost": "2.40",
              "prefix_cost": "74.42",
              "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 MD437NLIS240430_8.jpg 750 1000 N 177333 65387 product 178679 M 0 178679
0 AB066B2C240426_1.jpg 569 683 N 177341 65396 product 178687 M 0 178687
0 MD066BLIS2024726_25.jpg 750 1000 N 177532 65410 product 178878 M 0 178878
0 MD066BLIS2024726_45.jpg 750 1000 N 177540 65418 product 178886 M 0 178886
0 AB332BAPC240920_1.jpg 2083 2083 N 177570 65459 product 178916 M 0 178916
0 40142717517904.jpg 1080 1080 N 177582 65482 product 178928 M 0 178928
0 31Scsh97nVL._SY450_.jpg 306 450 N 180537 66104 product 181883 M 0 181883
0 bts-young-forever-night-version-special-album.webp 1200 1200 N 180538 66105 product 181884 M 0 181884
0 R_5000x.png 738 528 N 180543 66111 product 181889 M 0 181889
0 map_of_seoul.jpg 1000 1000 N 180546 66114 product 181892 M 0 181892
0 map_of_seoul_7mmq-vr.jpg 1000 1000 N 180547 66115 product 181893 M 0 181893
0 map_of_seoul_s445-th.jpg 1000 1000 N 180548 66116 product 181894 M 0 181894
0 009008001100_5000x.jpg 500 500 N 180652 66167 product 181998 M 0 181998
0 A_Ver.jpg 180 280 N 181448 66101 product 182794 M 0 182794
0 pr-apple-music-album-bts-proof-29915380383824_1400x.jpg 1400 1400 N 181451 66131 product 182797 M 0 182797
0 61vVMNNZPJL._UF1000,1000_QL80_.jpg 1000 1000 N 181452 66132 product 182798 M 0 182798
0 009008000866_1400x.jpg 500 500 N 181454 66136 product 182800 M 0 182800
0 009001012331_5000x.jpg 500 501 N 181473 66157 product 182819 M 0 182819
0 009001026670_1400x.jpg 500 500 N 181476 66160 product 182822 M 0 182822
0 JIN_WV_TH_4c13a20a-9dc0-428b-9260-0abb75539ef6_1400x.jpg 1400 1400 N 181477 66161 product 182823 M 0 182823
0 MUSIC_CD_ALBUM__BTS_JIN_-_ECHO_2ND_SOLO_MINI_ALBUM_STANDARD_SET__6nt0-3x.webp 250 250 N 194415 66990 product 195753 M 0 195753
0 SVT_f9224eee-cd4f-4627-a4bc-0378edefa099_5000x.webp 1200 1200 N 194416 65457 product 195754 M 0 195754
0 JIN_POB_2dbeafdd-decd-4900-a8aa-b47023081cbe_5000x.webp 3000 3000 N 194427 65395 product 195765 M 0 195765
0 367446820_18274303255156246_2799552099462163859_n.jpg 1080 1080 N 213685 65399 product 214960 M 0 214960