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 (
    13148, 13149, 13151, 13153, 13155, 13157, 
    13159, 13161, 13152, 12928, 13134, 
    13136, 13138, 13140, 13142, 13144, 
    13146, 12929, 12926, 12930, 12932, 
    12934, 12936, 12938, 12940, 12927, 
    12942, 12944, 12946, 12948, 12950, 
    12952, 12954, 12943, 12850, 12851, 
    12852, 12855, 12856, 12857, 12858, 
    12862, 12863, 12864, 12865, 12867, 
    12868, 12869, 12870, 12873, 12874, 
    12875, 12876, 12877, 12878, 12882, 
    12883, 12884, 12885, 12889, 12890, 
    12891, 12892, 12894, 12895, 12896, 
    12899, 12897, 12900, 12901, 12902, 
    12903, 12904, 12905, 12906, 12907, 
    12908, 12909, 12910, 12911, 12912, 
    12913, 12914, 12915
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00457

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "214.51"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "90.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": 90,
            "rows_produced_per_join": 90,
            "filtered": "100.00",
            "index_condition": "((`test2_gaseus`.`cscart_images_links`.`object_type` = 'product') and (`test2_gaseus`.`cscart_images_links`.`type` = 'M') and (`test2_gaseus`.`cscart_images_links`.`object_id` in (13148,13149,13151,13153,13155,13157,13159,13161,13152,12928,13134,13136,13138,13140,13142,13144,13146,12929,12926,12930,12932,12934,12936,12938,12940,12927,12942,12944,12946,12948,12950,12952,12954,12943,12850,12851,12852,12855,12856,12857,12858,12862,12863,12864,12865,12867,12868,12869,12870,12873,12874,12875,12876,12877,12878,12882,12883,12884,12885,12889,12890,12891,12892,12894,12895,12896,12899,12897,12900,12901,12902,12903,12904,12905,12906,12907,12908,12909,12910,12911,12912,12913,12914,12915)))",
            "cost_info": {
              "read_cost": "52.51",
              "eval_cost": "9.00",
              "prefix_cost": "61.51",
              "data_read_per_join": "8K"
            },
            "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": [
              "test2_gaseus.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 90,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "22.50",
              "eval_cost": "9.00",
              "prefix_cost": "93.01",
              "data_read_per_join": "68K"
            },
            "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": [
              "test2_gaseus.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 90,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "22.50",
              "eval_cost": "9.00",
              "prefix_cost": "124.51",
              "data_read_per_join": "53K"
            },
            "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 Druckminderer-Vulkan-E10-Vulkan-LabLine-Sauerstoff-2_600x600.jpg 256 500 N 18563 12850 product 22044 M 0 22044
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Acetylen-2_600x600.jpg 256 500 N 18564 12851 product 22045 M 0 22045
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-CO2-Argon-2_600x600.jpg 256 500 N 18565 12852 product 22046 M 0 22046
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Helium-2_600x600.jpg 256 500 N 18568 12855 product 22049 M 0 22049
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Stickstoff-2_600x600.jpg 256 500 N 18569 12856 product 22050 M 0 22050
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Wasserstoff-2_600x600.jpg 256 500 N 18570 12857 product 22051 M 0 22051
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Formiergas-2_600x600.jpg 256 500 N 18571 12858 product 22052 M 0 22052
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Druckluft-2_600x600.jpg 256 500 N 18575 12862 product 22056 M 0 22056
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Pr_fgas-2_600x600.jpg 256 500 N 18576 12863 product 22057 M 0 22057
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Lachgas-2_600x600.jpg 256 500 N 18577 12864 product 22058 M 0 22058
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Propan-2_600x600.jpg 256 500 N 18578 12865 product 22059 M 0 22059
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Ethen-2_600x600.jpg 256 500 N 18580 12867 product 22061 M 0 22061
0 Druckminderer-Vulkan-E10-Vulkan-LabLine-Methan-2_600x600.jpg 256 500 N 18581 12868 product 22062 M 0 22062
0 178913-E10F-Flowmeter-LabLine-Seite-70rDDHT4zLE3Exa_600x600.jpg 406 600 N 18582 12869 product 22063 M 0 22063
0 178913-E10F-Flowmeter-LabLine-Seite-70rDDHT4zLE3Exa_600x600_j6y4-qc.jpg 406 600 N 18583 12870 product 22064 M 0 22064
0 178913-E10F-Flowmeter-LabLine-Seite-70rDDHT4zLE3Exa_600x600_hhbj-ie.jpg 406 600 N 18586 12873 product 22067 M 0 22067
0 178913-E10F-Flowmeter-LabLine-Seite-70rDDHT4zLE3Exa_600x600_v2sf-7o.jpg 406 600 N 18587 12874 product 22068 M 0 22068
0 178913-E10F-Flowmeter-LabLine-Seite-70rDDHT4zLE3Exa_600x600_pa6z-7s.jpg 406 600 N 18588 12875 product 22069 M 0 22069
0 1328891146-26301-1_600x600.jpg 284 580 N 18589 12876 product 22070 M 0 22070
0 1328891164-26984-1_600x600.jpg 284 580 N 18590 12877 product 22071 M 0 22071
0 1328891180-27665-1_600x600.jpg 284 580 N 18591 12878 product 22072 M 0 22072
0 1328891195-28253-1_600x600.jpg 284 580 N 18595 12882 product 22076 M 0 22076
0 1328890972-18802-1_600x600.jpg 284 580 N 18596 12883 product 22077 M 0 22077
0 1328891008-20352-1_600x600.jpg 284 580 N 18597 12884 product 22078 M 0 22078
0 1330067479-16855_600x600.jpg 284 580 N 18598 12885 product 22079 M 0 22079
0 1328891131-25737-1_600x600.jpg 284 580 N 18602 12889 product 22083 M 0 22083
0 1328890990-19554-1_600x600.jpg 284 580 N 18603 12890 product 22084 M 0 22084
0 Entnahmestelle-Vulkan-E10_600x600.jpg 284 580 N 18604 12891 product 22085 M 0 22085
0 1328891084-23715-1_600x600.jpg 284 580 N 18605 12892 product 22086 M 0 22086
0 1328891101-24324-1_600x600.jpg 284 580 N 18607 12894 product 22088 M 0 22088
0 1328891116-25037-1_600x600.jpg 284 580 N 18608 12895 product 22089 M 0 22089
0 108913-E10F-Flowmeter-Seite-29bCrCerCmwQ5oh_600x600.jpg 474 600 N 18609 12896 product 22090 M 0 22090
0 108913-E10F-Flowmeter-Seite-29_600x600.jpg 474 600 N 18610 12897 product 22091 M 0 22091
0 108913-E10F-Flowmeter-Seite-29913jUQoLkmMN0_600x600.jpg 474 600 N 18612 12899 product 22093 M 0 22093
0 1328890813-12945-1_600x600.jpg 261 580 N 18613 12900 product 22094 M 0 22094
0 1328890826-13491-1_600x600.jpg 261 580 N 18614 12901 product 22095 M 0 22095
0 1328890775-11397-1_600x600.jpg 261 580 N 18615 12902 product 22096 M 0 22096
0 1328890787-11884-1_600x600.jpg 261 580 N 18616 12903 product 22097 M 0 22097
0 Entnahmestelle-Vulkan-E20_600x600.jpg 261 580 N 18617 12904 product 22098 M 0 22098
0 1328890747-10227-1_600x600.jpg 261 580 N 18618 12905 product 22099 M 0 22099
0 1328890760-10901-1_600x600.jpg 261 580 N 18619 12906 product 22100 M 0 22100
0 1328890799-12448-1_600x600.jpg 261 580 N 18620 12907 product 22101 M 0 22101
0 1383636190-10120_600x600.jpg 261 580 N 18621 12908 product 22102 M 0 22102
0 1329462582-32650_600x600.jpg 308 580 N 18622 12909 product 22103 M 0 22103
0 1329462582-32650_600x600_8h4h-d9.jpg 308 580 N 18623 12910 product 22104 M 0 22104
0 1329462752-6606_600x600.jpg 308 580 N 18624 12911 product 22105 M 0 22105
0 1329462930-13410_600x600.jpg 308 580 N 18625 12912 product 22106 M 0 22106
0 1329463114-21401_600x600.jpg 308 580 N 18626 12913 product 22107 M 0 22107
0 1329463255-26946_600x600.jpg 308 580 N 18627 12914 product 22108 M 0 22108
0 1329463437-1888_600x600.jpg 308 580 N 18628 12915 product 22109 M 0 22109
0 1337333401-2596_600x600.jpg 580 392 N 18639 12926 product 22120 M 0 22120
0 x414802_600x600.jpg 580 392 N 18640 12927 product 22121 M 0 22121
0 410901_600x600.jpg 600 430 N 18641 12928 product 22122 M 0 22122
0 Seite-68-SE-10-300K-LabLinehhetSQbq1WfDf_600x600.jpg 600 400 N 18642 12929 product 22123 M 0 22123
0 1337334338-6630_600x600.jpg 580 392 N 18643 12930 product 22124 M 0 22124
0 1337334431-21247_600x600.jpg 580 392 N 18645 12932 product 22126 M 0 22126
0 1337334619-23541_600x600.jpg 580 392 N 18647 12934 product 22128 M 0 22128
0 1337334706-2565_600x600.jpg 580 392 N 18649 12936 product 22130 M 0 22130
0 1337334774-12617_600x600.jpg 580 392 N 18651 12938 product 22132 M 0 22132
0 1337334851-23852_600x600.jpg 580 392 N 18653 12940 product 22134 M 0 22134
0 Seite-22-EB-60-300QeG6JieNC6WHu_600x600.jpg 600 400 N 18655 12942 product 22136 M 0 22136
0 Seite-22-EB-60-300pxiPB44ZQ5MU6_600x600.jpg 600 400 N 18656 12943 product 22137 M 0 22137
0 Seite-22-EB-60-300gQWPs1F1Yk5u1_600x600.jpg 600 400 N 18657 12944 product 22138 M 0 22138
0 Seite-22-EB-60-300ak0dHLdOOv5ja_600x600.jpg 600 400 N 18659 12946 product 22140 M 0 22140
0 Seite-22-EB-60-300SVovobv9VrPfu_600x600.jpg 600 400 N 18661 12948 product 22142 M 0 22142
0 Seite-22-EB-60-3007KP4WMntsMJTk_600x600.jpg 600 400 N 18663 12950 product 22144 M 0 22144
0 Seite-22-EB-60-300QIbPTOgZA8dv5_600x600.jpg 600 400 N 18665 12952 product 22146 M 0 22146
0 Seite-22-EB-60-300Ls3arj3bVb4pk_600x600.jpg 600 400 N 18667 12954 product 22148 M 0 22148
0 Seite-68-SE-10-300K-LabLine_600x600.jpg 600 400 N 18847 13134 product 22328 M 0 22328
0 Seite-68-SE-10-300K-LabLineKGvrUQ1I9ZlqW_600x600.jpg 600 400 N 18849 13136 product 22330 M 0 22330
0 Seite-68-SE-10-300K-LabLine1zRoBjd0Pe37z_600x600.jpg 600 400 N 18851 13138 product 22332 M 0 22332
0 Seite-68-SE-10-300K-LabLine4HjNc2r9LAUtZ_600x600.jpg 600 400 N 18853 13140 product 22334 M 0 22334
0 Seite-68-SE-10-300K-LabLineeEKRHI7paiXSD_600x600.jpg 600 400 N 18855 13142 product 22336 M 0 22336
0 Seite-68-SE-10-300K-LabLinejl90AtceKO2fC_600x600.jpg 600 400 N 18857 13144 product 22338 M 0 22338
0 Seite-68-SE-10-300K-LabLineOAEUPf8atBq9r_600x600.jpg 600 400 N 18859 13146 product 22340 M 0 22340
0 Seite-68-SE-10-300K-LabLine-LG_600x600.jpg 600 400 N 18861 13148 product 22342 M 0 22342
0 Seite-68-SE-10-300K-LabLine-LGZS6nx8a9W1PKI_600x600.jpg 600 400 N 18862 13149 product 22343 M 0 22343
0 Seite-68-SE-10-300K-LabLine-LGuegeKPlHRwntI_600x600.jpg 600 400 N 18864 13151 product 22345 M 0 22345
0 Seite-68-SE-10-300K-LabLine-LGgXodSkIt6qlRE_600x600.jpg 600 400 N 18865 13152 product 22346 M 0 22346
0 Seite-68-SE-10-300K-LabLine-LGH9hVI7YZ2IaLA_600x600.jpg 600 400 N 18866 13153 product 22347 M 0 22347
0 Seite-68-SE-10-300K-LabLine-LGsP0rx3NSA0QuW_600x600.jpg 600 400 N 18868 13155 product 22349 M 0 22349
0 Seite-68-SE-10-300K-LabLine-LGywG1fz3KXdIxH_600x600.jpg 600 400 N 18870 13157 product 22351 M 0 22351
0 Seite-68-SE-10-300K-LabLine-LGDIC8RCYzwyCx7_600x600.jpg 600 400 N 18872 13159 product 22353 M 0 22353
0 Seite-68-SE-10-300K-LabLine-LGIkcMdIAuz4M2j_600x600.jpg 600 400 N 18874 13161 product 22355 M 0 22355