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, 12885, 
    12889, 12890, 12891, 12892, 12894, 
    12895, 12876, 12877, 12878, 12882, 
    12883, 12884, 12896, 12899, 12897
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00123

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "66.71"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "28.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": 28,
            "rows_produced_per_join": 28,
            "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,12885,12889,12890,12891,12892,12894,12895,12876,12877,12878,12882,12883,12884,12896,12899,12897)))",
            "cost_info": {
              "read_cost": "16.31",
              "eval_cost": "2.80",
              "prefix_cost": "19.11",
              "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": 28,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "7.00",
              "eval_cost": "2.80",
              "prefix_cost": "28.91",
              "data_read_per_join": "21K"
            },
            "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": 28,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "7.00",
              "eval_cost": "2.80",
              "prefix_cost": "38.71",
              "data_read_per_join": "16K"
            },
            "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 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 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