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 (
    12349, 12359, 12354, 12353, 12351, 12350, 
    12352, 13078, 13079, 13080, 13081, 
    13082, 13083, 13084, 12624, 12644, 
    12634, 12629, 12628, 12627, 12626, 
    12625
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00120

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "61.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "26.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": 26,
            "rows_produced_per_join": 26,
            "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 (12349,12359,12354,12353,12351,12350,12352,13078,13079,13080,13081,13082,13083,13084,12624,12644,12634,12629,12628,12627,12626,12625)))",
            "cost_info": {
              "read_cost": "14.61",
              "eval_cost": "2.60",
              "prefix_cost": "17.21",
              "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": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "6.50",
              "eval_cost": "2.60",
              "prefix_cost": "26.31",
              "data_read_per_join": "19K"
            },
            "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": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "6.50",
              "eval_cost": "2.60",
              "prefix_cost": "35.41",
              "data_read_per_join": "15K"
            },
            "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 1378276732-30361_600x600.jpg 500 342 N 11821 12349 product 15304 M 0 15304
0 1378276732-30361_600x600_xrtk-pz.jpg 500 342 N 11822 12350 product 15305 M 0 15305
0 1378276732-30361_600x600_r8lp-ky.jpg 500 342 N 11823 12351 product 15306 M 0 15306
0 1378276732-30361_600x600_rgxx-g3.jpg 500 342 N 11824 12352 product 15307 M 0 15307
0 1378276732-30361_600x600_3ssw-lq.jpg 500 342 N 11825 12353 product 15308 M 0 15308
0 1378276732-30361_600x600_nygw-jj.jpg 500 342 N 11826 12354 product 15309 M 0 15309
0 1378276732-30361_600x600_4ckd-cy.jpg 500 342 N 11831 12359 product 15314 M 0 15314
0 1551266366-16176-1-2_600x600_2x.jpg 500 202 N 12096 12624 product 15579 M 0 15579
0 1551266366-16176-1-2_600x600_2x_jv3z-53.jpg 500 202 N 12097 12625 product 15580 M 0 15580
0 1551266366-16176-1-2_600x600_2x_byhp-2q.jpg 500 202 N 12098 12626 product 15581 M 0 15581
0 1551266366-16176-1-2_600x600_2x_fbqh-k2.jpg 500 202 N 12099 12627 product 15582 M 0 15582
0 1551266366-16176-1-2_600x600_2x_3zap-4b.jpg 500 202 N 12100 12628 product 15583 M 0 15583
0 1551266366-16176-1-2_600x600_2x_8me2-wh.jpg 500 202 N 12101 12629 product 15584 M 0 15584
0 1380013200-5963_600x600_2x.jpg 500 250 N 12106 12634 product 15589 M 0 15589
0 1380013200-5963_600x600_2x_k9qd-pw.jpg 500 250 N 12116 12644 product 15599 M 0 15599
0 414822-Basisstation-BS70-300-Effect-Seite-16_600x600.jpg 600 267 N 18791 13078 product 22272 M 0 22272
0 414822-Basisstation-BS70-300-Effect-Seite-161bo2YEDZz80RI_600x600.jpg 600 267 N 18792 13079 product 22273 M 0 22273
0 414822-Basisstation-BS70-300-Effect-Seite-16J0elFdYc1tnqW_600x600.jpg 600 267 N 18793 13080 product 22274 M 0 22274
0 414822-Basisstation-BS70-300-Effect-Seite-16l3NrEcXdCQvdO_600x600.jpg 600 267 N 18794 13081 product 22275 M 0 22275
0 414822-Basisstation-BS70-300-Effect-Seite-16O3OiP3pKwSfv8_600x600.jpg 600 267 N 18795 13082 product 22276 M 0 22276
0 414822-Basisstation-BS70-300-Effect-Seite-16Mc1NW6vhpueFI_600x600.jpg 600 267 N 18796 13083 product 22277 M 0 22277
0 414822-Basisstation-BS70-300-Effect-Seite-167tl7JAcPAyMrO_600x600.jpg 600 267 N 18797 13084 product 22278 M 0 22278