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 (
    3315, 7108, 3307, 3313, 3317, 3862, 6844, 
    7224, 7245, 7270, 6820, 3272, 3279, 
    3186, 3278, 3190, 3192, 3197, 7009, 
    3273, 6742, 3304, 3297, 3298, 3308, 
    3309, 3310, 3314, 3318, 6849, 6856, 
    6862, 6865, 7057, 6853, 6852
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00244

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "86.41"
    },
    "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 (3315,7108,3307,3313,3317,3862,6844,7224,7245,7270,6820,3272,3279,3186,3278,3190,3192,3197,7009,3273,6742,3304,3297,3298,3308,3309,3310,3314,3318,6849,6856,6862,6865,7057,6853,6852)))",
            "cost_info": {
              "read_cost": "21.61",
              "eval_cost": "3.60",
              "prefix_cost": "25.21",
              "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": "37.81",
              "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": "50.41",
              "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 Seite-74-F10-2-300-Effect-LabLine-LG7WMAWmK4lfHvL_600x600_2x.jpg 1200 800 N 6214 6742 product 9697 M 0 9697
0 Seite-74-F10-2-300-Effect-LabLine_600x600_2x.jpg 1200 800 N 6292 6820 product 9775 M 0 9775
0 1430122396-24970-1_600x600_2x.jpg 500 300 N 6316 6844 product 9799 M 0 9799
0 Druckminderer-Vulkan-F-10-200-Standard-Sauerstoff-2_600x600_2x.jpg 500 474 N 6321 6849 product 9804 M 0 9804
0 1430122336-23102-1_600x600_2x.jpg 500 300 N 6324 6852 product 9807 M 0 9807
0 Druckminderer-Vulkan-F-10-200-Standard-Druckluft-2_600x600_2x.jpg 500 474 N 6325 6853 product 9808 M 0 9808
0 Druckminderer-Vulkan-F-10-200-Standard-Ethen-2_600x600_2x.jpg 500 474 N 6328 6856 product 9811 M 0 9811
0 1430122151-16708-1_600x600_2x.jpg 500 300 N 6334 6862 product 9817 M 0 9817
0 Druckminderer-Vulkan-F-10-200-Standard-Lachgas-2_600x600_2x.jpg 500 474 N 6337 6865 product 9820 M 0 9820
0 1447432387-1306-1_600x600_2x_ad76-ia.jpg 500 495 N 6481 7009 product 9964 M 0 9964
0 1387466304-20319-1_600x600_2x_alk5-k7.jpg 483 500 N 6529 7057 product 10012 M 0 10012
0 306-770-LHR-300-200-Seite-35iC667EhBYIRFc_600x600_2x_id6o-s6.jpg 1200 800 N 6580 7108 product 10063 M 0 10063
0 1387466348-21616-1_600x600_2x_3fuh-ny.jpg 483 500 N 6696 7224 product 10179 M 0 10179
0 306-770-LHR-300-200-Seite-35QAn3UK2M6eDWe_600x600_2x.jpg 1200 800 N 6717 7245 product 10200 M 0 10200
0 Druckminderer-Vulkan-F-10-200-Effect-Sauerstoff-zweistufig-2_600x600_2x_o8ys-nv.jpg 500 399 N 6742 7270 product 10225 M 0 10225
0 Seite-72-F10-300-Effect-LabLine-LGdXHUORL9Aecim_600x600_2x.jpg 1200 800 N 15887 3186 product 19368 M 0 19368
0 Seite-74-F10-2-300-Effect-LabLine-LGBwpUayoUpUk5X_600x600_2x.jpg 1200 800 N 15891 3190 product 19372 M 0 19372
0 Seite-74-F10-2-300-Effect-LabLine-LGXQe3hDqldsUyZ_600x600_2x.jpg 1200 800 N 15893 3192 product 19374 M 0 19374
0 Seite-74-F10-2-300-Effect-LabLine-LGIOkMzMbs99Ke0_600x600_2x.jpg 1200 800 N 15898 3197 product 19379 M 0 19379
0 Seite-74-F10-2-300-Effect-LabLine-LG_600x600_2x.jpg 1200 800 N 15973 3272 product 19454 M 0 19454
0 Seite-72-F10-300-Effect-LabLine-LG_600x600_2x.jpg 1200 800 N 15974 3273 product 19455 M 0 19455
0 Seite-74-F10-2-300-Effect-LabLine-LG6StNnIYWwGIqd_600x600_2x.jpg 1200 800 N 15979 3278 product 19460 M 0 19460
0 Seite-74-F10-2-300-Effect-LabLine-neu_600x600_2x.jpg 408 285 N 15980 3279 product 19461 M 0 19461
0 1336129216-14840-1_600x600_2x.jpg 580 524 N 15998 3297 product 19479 M 0 19479
0 Druckminderer-Vulkan-F-10-200-Standard-Helium-2_600x600_2x.jpg 500 474 N 15999 3298 product 19480 M 0 19480
0 1430122360-23701-1_600x600_2x.jpg 500 300 N 16005 3304 product 19486 M 0 19486
0 1430122280-21441-1_600x600_2x.jpg 500 300 N 16008 3307 product 19489 M 0 19489
0 Druckminderer-Vulkan-F-10-200-Standard-Methan-2_600x600_2x.jpg 500 474 N 16009 3308 product 19490 M 0 19490
0 Druckminderer-Vulkan-F-10-200-Standard-Propan-2_600x600_2x.jpg 500 474 N 16010 3309 product 19491 M 0 19491
0 1336123424-32397_600x600_2x.jpg 580 517 N 16011 3310 product 19492 M 0 19492
0 1430122176-17545-1_600x600_2x.jpg 500 300 N 16014 3313 product 19495 M 0 19495
0 Druckminderer-Vulkan-F-10-200-Standard-Wasserstoff-2_600x600_2x.jpg 500 474 N 16015 3314 product 19496 M 0 19496
0 1430122131-16154-1_600x600_2x.jpg 500 300 N 16016 3315 product 19497 M 0 19497
0 Vulkan-F10-2NP_600x600_2x.jpg 500 300 N 16018 3317 product 19499 M 0 19499
0 Druckminderer-Vulkan-F-10-200-Standard-Stickstoff-2_600x600_2x.jpg 500 474 N 16019 3318 product 19500 M 0 19500
0 1430122237-20160-1_600x600_2x_ncto-b2.jpg 500 300 N 16563 3862 product 20044 M 0 20044