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 (
    3171, 6742, 3166, 3167, 3174, 3180, 3187, 
    3193, 3195, 3271, 3282, 6757, 6842, 
    7008, 3172, 6820, 426, 436, 602, 657, 
    3173, 688, 699, 710, 751, 3316, 6761, 
    6850, 6859, 7279, 7352, 7356, 667, 2796, 
    2378, 2373, 2374, 2375, 2372, 2376, 
    2377, 5972, 5973, 5974, 5975, 5976
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00234

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "112.56"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "47.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": 47,
            "rows_produced_per_join": 47,
            "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 (3171,6742,3166,3167,3174,3180,3187,3193,3195,3271,3282,6757,6842,7008,3172,6820,426,436,602,657,3173,688,699,710,751,3316,6761,6850,6859,7279,7352,7356,667,2796,2378,2373,2374,2375,2372,2376,2377,5972,5973,5974,5975,5976)))",
            "cost_info": {
              "read_cost": "27.96",
              "eval_cost": "4.70",
              "prefix_cost": "32.66",
              "data_read_per_join": "4K"
            },
            "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": 47,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "11.75",
              "eval_cost": "4.70",
              "prefix_cost": "49.11",
              "data_read_per_join": "35K"
            },
            "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": 47,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "11.75",
              "eval_cost": "4.70",
              "prefix_cost": "65.56",
              "data_read_per_join": "27K"
            },
            "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 1390210119-12525_600x600_2x_71rv-6d.jpg 500 399 N 5444 5972 product 8927 M 0 8927
0 1390210119-12525_600x600_2x_pf7r-4s.jpg 500 399 N 5445 5973 product 8928 M 0 8928
0 1390210119-12525_600x600_2x_pum7-wq.jpg 500 399 N 5446 5974 product 8929 M 0 8929
0 1390210119-12525_600x600_2x_afs1-3k.jpg 500 399 N 5447 5975 product 8930 M 0 8930
0 1390210119-12525_600x600_2x_nsjh-4y.jpg 500 399 N 5448 5976 product 8931 M 0 8931
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-LabLinekEtsMRyV4cFWo_600x600_2x.jpg 1200 800 N 6229 6757 product 9712 M 0 9712
0 Seite-74-F15-2-300-Effect-LabLine9sKl29ppWOcWb_600x600_2x.jpg 1200 800 N 6233 6761 product 9716 M 0 9716
0 Seite-74-F10-2-300-Effect-LabLine_600x600_2x.jpg 1200 800 N 6292 6820 product 9775 M 0 9775
0 Seite-72-F10-300-Effect-LabLine2aFmf03h0ksC8_600x600_2x.jpg 1200 800 N 6314 6842 product 9797 M 0 9797
0 Druckminderer-Vulkan-F15-200-2_600x600_2x.jpg 500 455 N 6322 6850 product 9805 M 0 9805
0 1387270102-27683_600x600_2x.jpg 500 476 N 6331 6859 product 9814 M 0 9814
0 1447432387-1306-1_600x600_2x_t1v7-bp.jpg 500 495 N 6480 7008 product 9963 M 0 9963
0 Druckminderer-Vulkan-F-10-200-Effect-Sauerstoff-zweistufig-2_600x600_2x_18if-ua.jpg 500 399 N 6751 7279 product 10234 M 0 10234
0 1337327177-22599_600x600_2x_tasq-gq.jpg 580 462 N 6824 7352 product 10307 M 0 10307
0 1337327177-22599_600x600_2x_43yx-qc.jpg 580 462 N 6828 7356 product 10311 M 0 10311
0 1390377119-4252_600x600_2x_9jr0-qd.jpg 500 399 N 13127 426 product 16607 M 0 16607
0 1354272258-16219_600x600_2x_y54s-50.jpg 500 399 N 13137 436 product 16617 M 0 16617
0 Druckminderer-Vulkan-F-15-200-Effect-CO2-Argon-2_600x600_2x_0g5m-yb.jpg 500 476 N 13303 602 product 16783 M 0 16783
0 Druckminderer-Vulkan-F-15-300-Effect-Pr_fgas-einstufig-2_600x600_2x_7azd-6n.jpg 500 476 N 13358 657 product 16838 M 0 16838
0 Druckminderer-Vulkan-F-15-300-Effect-Druckluft-einstufig-2_600x600_2x_i94e-hu.jpg 500 476 N 13368 667 product 16848 M 0 16848
0 Druckminderer-Vulkan-F-15-300-Effect-Stickstoff-einstufig-2_600x600_2x_nn94-fq.jpg 500 476 N 13389 688 product 16869 M 0 16869
0 Druckminderer-Vulkan-F-15-300-Effect-Helium-einstufig-2_600x600_2x_h4dn-me.jpg 500 476 N 13400 699 product 16880 M 0 16880
0 Druckminderer-Vulkan-F-15-200-Effect-Methan-2_600x600_2x_8oup-25.jpg 500 476 N 13411 710 product 16891 M 0 16891
0 Druckminderer-Vulkan-F-15-200-Effect-Wasserstoff-2_600x600_2x_hkd3-7p.jpg 500 476 N 13452 751 product 16932 M 0 16932
0 1390210119-12525_600x600_2x_ne6s-rt.jpg 500 399 N 15073 2372 product 18554 M 0 18554
0 1390210119-12525_600x600_2x_fw0c-lh.jpg 500 399 N 15074 2373 product 18555 M 0 18555
0 1390210119-12525_600x600_2x_cl6o-c9.jpg 500 399 N 15075 2374 product 18556 M 0 18556
0 1390210119-12525_600x600_2x_vnu5-l1.jpg 500 399 N 15076 2375 product 18557 M 0 18557
0 1390210119-12525_600x600_2x_p4sh-o5.jpg 500 399 N 15077 2376 product 18558 M 0 18558
0 1390210119-12525_600x600_2x_aox8-nx.jpg 500 399 N 15078 2377 product 18559 M 0 18559
0 1390210119-12525_600x600_2x_aidi-u7.jpg 500 399 N 15079 2378 product 18560 M 0 18560
0 1354272140-14441_600x600_2x_z0in-po.jpg 500 399 N 15497 2796 product 18978 M 0 18978
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_60kb-0j.jpg 1191 1200 N 15867 3166 product 19348 M 0 19348
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_g1g1-tp.jpg 1191 1200 N 15868 3167 product 19349 M 0 19349
0 Seite-74-F10-2-300-Effect-LabLineJBuIVNZ4mAIwT_600x600_2x.jpg 1200 800 N 15872 3171 product 19353 M 0 19353
0 Seite-72-F10-300-Effect-LabLine3tMQWpoaOhozG_600x600_2x.jpg 1200 800 N 15873 3172 product 19354 M 0 19354
0 Seite-74-F15-2-300-Effect-LabLineWjky90n1BFFAk_600x600_2x.jpg 1200 800 N 15874 3173 product 19355 M 0 19355
0 Seite-72-F10-300-Effect-LabLinemIF5wRhMrIvuu_600x600_2x.jpg 1200 800 N 15875 3174 product 19356 M 0 19356
0 Seite-74-F10-2-300-Effect-LabLinevbOlhlmNHaxo4_600x600_2x.jpg 1200 800 N 15881 3180 product 19362 M 0 19362
0 Druckregler-Vulkan-F10-F-300-Effect-LabLine-2_6-26-Wasserstoff_600x600_2x.jpg 707 800 N 15888 3187 product 19369 M 0 19369
0 Seite-74-F10-2-300-Effect-LabLineerzJouJLdbYAN_600x600_2x.jpg 1200 800 N 15894 3193 product 19375 M 0 19375
0 Druckminderer-Vulkan-F10-F-300-Effect-LabLine-4-42-Stickstoff-2_600x600_2x.jpg 442 500 N 15896 3195 product 19377 M 0 19377
0 Seite-72-F10-300-Effect-LabLineOMFYxN4xq48Mn_600x600_2x.jpg 1200 800 N 15972 3271 product 19453 M 0 19453
0 Seite-72-F10-300-Effect-LabLineramNqEU7iAhoC_600x600_2x.jpg 1200 800 N 15983 3282 product 19464 M 0 19464
0 1354176977-32599_600x600_2x.jpg 500 476 N 16017 3316 product 19498 M 0 19498