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 (
    11965, 11966, 11967, 11968, 11969, 11975, 
    11985, 11995, 12005, 12015, 12025, 
    12037, 12038, 12039, 12040, 12041, 
    12047, 12057, 12067, 12077, 12087, 
    12097, 12102, 12109, 12103, 12104, 
    12105, 12106, 12107, 12108
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "84.91"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "36.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "cscart_images_links",
            "access_type": "range",
            "possible_keys": [
              "object_id"
            ],
            "key": "object_id",
            "used_key_parts": [
              "object_id",
              "object_type",
              "type"
            ],
            "key_length": "81",
            "rows_examined_per_scan": 36,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (11965,11966,11967,11968,11969,11975,11985,11995,12005,12015,12025,12037,12038,12039,12040,12041,12047,12057,12067,12077,12087,12097,12102,12109,12103,12104,12105,12106,12107,12108)))",
            "cost_info": {
              "read_cost": "20.11",
              "eval_cost": "3.60",
              "prefix_cost": "23.71",
              "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": [
              "gaseus.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.00",
              "eval_cost": "3.60",
              "prefix_cost": "36.31",
              "data_read_per_join": "27K"
            },
            "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": "108",
            "ref": [
              "gaseus.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 36,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "9.00",
              "eval_cost": "3.60",
              "prefix_cost": "48.91",
              "data_read_per_join": "21K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ]
          }
        }
      ]
    }
  }
}

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 Thanos_F1_600x600_2x_wnnx-ch.jpg 1200 1200 N 11437 11965 product 14920 M 0 14920
0 Thanos_F1_600x600_2x_b2io-zo.jpg 1200 1200 N 11438 11966 product 14921 M 0 14921
0 Thanos_F1_600x600_2x_zpbs-4g.jpg 1200 1200 N 11439 11967 product 14922 M 0 14922
0 Thanos_F1_600x600_2x_qlon-b7.jpg 1200 1200 N 11440 11968 product 14923 M 0 14923
0 Thanos_F1_600x600_2x_grmk-dc.jpg 1200 1200 N 11441 11969 product 14924 M 0 14924
0 Thanos_F1_600x600_2x_o3l5-gz.jpg 1200 1200 N 11447 11975 product 14930 M 0 14930
0 Thanos_F1_600x600_2x_vgyj-36.jpg 1200 1200 N 11457 11985 product 14940 M 0 14940
0 Thanos_F1_600x600_2x_9buz-6j.jpg 1200 1200 N 11467 11995 product 14950 M 0 14950
0 Thanos_F1_600x600_2x_a4hq-37.jpg 1200 1200 N 11477 12005 product 14960 M 0 14960
0 Thanos_F1_600x600_2x_9zxs-5e.jpg 1200 1200 N 11487 12015 product 14970 M 0 14970
0 Thanos_F1_600x600_2x_4x2a-0h.jpg 1200 1200 N 11497 12025 product 14980 M 0 14980
0 Thanos_F2_600x600_2x_7f0o-jc.jpg 1088 1200 N 11509 12037 product 14992 M 0 14992
0 Thanos_F2_600x600_2x_ua4t-ix.jpg 1088 1200 N 11510 12038 product 14993 M 0 14993
0 Thanos_F2_600x600_2x_zzp7-6p.jpg 1088 1200 N 11511 12039 product 14994 M 0 14994
0 Thanos_F2_600x600_2x_d4fb-mi.jpg 1088 1200 N 11512 12040 product 14995 M 0 14995
0 Thanos_F2_600x600_2x_0grb-cw.jpg 1088 1200 N 11513 12041 product 14996 M 0 14996
0 Thanos_F2_600x600_2x_cefv-7h.jpg 1088 1200 N 11519 12047 product 15002 M 0 15002
0 Thanos_F2_600x600_2x_isb0-1v.jpg 1088 1200 N 11529 12057 product 15012 M 0 15012
0 Thanos_F2_600x600_2x_fcpl-nm.jpg 1088 1200 N 11539 12067 product 15022 M 0 15022
0 Thanos_F2_600x600_2x_m4de-6x.jpg 1088 1200 N 11549 12077 product 15032 M 0 15032
0 Thanos_F2_600x600_2x_vn22-os.jpg 1088 1200 N 11559 12087 product 15042 M 0 15042
0 Thanos_F2_600x600_2x_osq9-v6.jpg 1088 1200 N 11569 12097 product 15052 M 0 15052
0 Seite-38-LR-40-neue-Variante_600x600_2x.jpg 1164 1200 N 11574 12102 product 15057 M 0 15057
0 Seite-38-LR-40-neue-Variante_600x600_2x_7c8y-wk.jpg 1164 1200 N 11575 12103 product 15058 M 0 15058
0 Seite-38-LR-40-neue-Variante_600x600_2x_k2t0-4o.jpg 1164 1200 N 11576 12104 product 15059 M 0 15059
0 Seite-38-LR-40-neue-Variante_600x600_2x_l1o2-nj.jpg 1164 1200 N 11577 12105 product 15060 M 0 15060
0 Seite-38-LR-40-neue-Variante_600x600_2x_fc5y-fh.jpg 1164 1200 N 11578 12106 product 15061 M 0 15061
0 Seite-38-LR-40-neue-Variante_600x600_2x_wh8d-rr.jpg 1164 1200 N 11579 12107 product 15062 M 0 15062
0 Seite-38-LR-40-neue-Variante_600x600_2x_adbo-zw.jpg 1164 1200 N 11580 12108 product 15063 M 0 15063
0 Seite-38-LR-40-neue-Variante_600x600_2x_phz7-72.jpg 1164 1200 N 11581 12109 product 15064 M 0 15064