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 (
    12920, 12919, 12918, 12917, 12916, 12925, 
    12924, 12923, 12922, 12921, 12896, 
    12899, 12897, 12908, 12907, 12906, 
    12905, 12900, 12901, 12902, 12903, 
    12904
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00146

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "57.11"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "24.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": 24,
            "rows_produced_per_join": 24,
            "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 (12920,12919,12918,12917,12916,12925,12924,12923,12922,12921,12896,12899,12897,12908,12907,12906,12905,12900,12901,12902,12903,12904)))",
            "cost_info": {
              "read_cost": "13.91",
              "eval_cost": "2.40",
              "prefix_cost": "16.31",
              "data_read_per_join": "2K"
            },
            "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": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "6.00",
              "eval_cost": "2.40",
              "prefix_cost": "24.71",
              "data_read_per_join": "18K"
            },
            "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": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "6.00",
              "eval_cost": "2.40",
              "prefix_cost": "33.11",
              "data_read_per_join": "14K"
            },
            "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 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 Entnahmestelle-Vulkan-ER20_600x600.jpg 322 580 N 18629 12916 product 22110 M 0 22110
0 1329463683-11606_600x600.jpg 322 580 N 18630 12917 product 22111 M 0 22111
0 1329474883-7389_600x600.jpg 322 580 N 18631 12918 product 22112 M 0 22112
0 1329464646-14769_600x600.jpg 322 580 N 18632 12919 product 22113 M 0 22113
0 1329464823-21634_600x600.jpg 322 580 N 18633 12920 product 22114 M 0 22114
0 Entnahmestelle-Vulkan-ER40_600x600.jpg 255 580 N 18634 12921 product 22115 M 0 22115
0 1329465880-29040_600x600.jpg 255 580 N 18635 12922 product 22116 M 0 22116
0 1329475083-15155_600x600.jpg 255 580 N 18636 12923 product 22117 M 0 22117
0 1329466275-10296_600x600.jpg 255 580 N 18637 12924 product 22118 M 0 22118
0 1329466420-15029_600x600.jpg 255 580 N 18638 12925 product 22119 M 0 22119