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 (
    12524, 12532, 12528, 12525, 12526, 12527, 
    3166, 3186, 3167, 3171, 3174, 3180, 
    3187, 3193, 3195, 3271, 3282, 6757, 
    6842, 7008, 3181, 3175, 6829, 6737, 
    3168, 6738, 6740, 426, 436, 6825, 657, 
    667, 688, 3277, 710, 751, 3316, 6761, 
    6850, 6859, 7312, 7352, 7356, 699, 2225, 
    6750
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00223

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": "((`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 (12524,12532,12528,12525,12526,12527,3166,3186,3167,3171,3174,3180,3187,3193,3195,3271,3282,6757,6842,7008,3181,3175,6829,6737,3168,6738,6740,426,436,6825,657,667,688,3277,710,751,3316,6761,6850,6859,7312,7352,7356,699,2225,6750)))",
            "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": [
              "test2_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": [
              "test2_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 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_4mxp-ma.jpg 1191 1200 N 6209 6737 product 9692 M 0 9692
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_q9vb-i4.jpg 1191 1200 N 6210 6738 product 9693 M 0 9693
0 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_vaj8-gw.jpg 1191 1200 N 6212 6740 product 9695 M 0 9695
0 Seite-74-F15-2-300-Effect-LabLinezb2LygGS1i8yS_600x600_2x.jpg 1200 800 N 6222 6750 product 9705 M 0 9705
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-F15-2-300-Effect-LabLineuBtAEEkcAO9Vz_600x600_2x.jpg 1200 800 N 6297 6825 product 9780 M 0 9780
0 Seite-72-F10-300-Effect-LabLinez8MZpIdXuSATJ_600x600_2x.jpg 1200 800 N 6301 6829 product 9784 M 0 9784
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 306-770-LHR-300-200-Seite-35C9PvCV3fxdTCc_600x600_2x_2sgw-pm.jpg 1200 800 N 6784 7312 product 10267 M 0 10267
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 Thanos_L2_600x600.jpg 564 600 N 11996 12524 product 15479 M 0 15479
0 Thanos_L2_600x600_neqv-1j.jpg 564 600 N 11997 12525 product 15480 M 0 15480
0 Thanos_L2_600x600_igcv-0e.jpg 564 600 N 11998 12526 product 15481 M 0 15481
0 Thanos_L2_600x600_909f-69.jpg 564 600 N 11999 12527 product 15482 M 0 15482
0 Thanos_L2_600x600_a3z8-47.jpg 564 600 N 12000 12528 product 15483 M 0 15483
0 Thanos_L2_600x600_3k93-ng.jpg 564 600 N 12004 12532 product 15487 M 0 15487
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-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 1390209788-448_600x600_2x_zthw-da.jpg 500 399 N 14926 2225 product 18407 M 0 18407
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 276711-F10-300F-Effect-Flowmeter-LabLine-Seite-73jnqvyUrfzX4ND_600x600_2x_j6dh-gm.jpg 1191 1200 N 15869 3168 product 19350 M 0 19350
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-LabLinemIF5wRhMrIvuu_600x600_2x.jpg 1200 800 N 15875 3174 product 19356 M 0 19356
0 300-Flowmeter-Labline-CO2-Argon-10-95_600x600_2x.jpg 707 800 N 15876 3175 product 19357 M 0 19357
0 Seite-74-F10-2-300-Effect-LabLinevbOlhlmNHaxo4_600x600_2x.jpg 1200 800 N 15881 3180 product 19362 M 0 19362
0 Seite-74-F10-2-300-Effect-LabLineMlIA3S57WgaJe_600x600_2x.jpg 1200 800 N 15882 3181 product 19363 M 0 19363
0 Seite-72-F10-300-Effect-LabLine-LGdXHUORL9Aecim_600x600_2x.jpg 1200 800 N 15887 3186 product 19368 M 0 19368
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-74-F15-2-300-Effect-LabLinekKZJwqtO04yY9_600x600_2x.jpg 1200 800 N 15978 3277 product 19459 M 0 19459
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