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 (
    12594, 12604, 12599, 12598, 12597, 12596, 
    12595, 12609, 12614, 12619, 12612, 
    12613, 12610, 12611, 12424, 12454, 
    12439, 12429, 12434, 12428, 12427, 
    12426, 12425, 12536, 12541, 12538, 
    12537, 12540, 12539
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00137

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "76.06"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "32.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": 32,
            "rows_produced_per_join": 32,
            "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 (12594,12604,12599,12598,12597,12596,12595,12609,12614,12619,12612,12613,12610,12611,12424,12454,12439,12429,12434,12428,12427,12426,12425,12536,12541,12538,12537,12540,12539)))",
            "cost_info": {
              "read_cost": "18.46",
              "eval_cost": "3.20",
              "prefix_cost": "21.66",
              "data_read_per_join": "3K"
            },
            "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": 32,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.00",
              "eval_cost": "3.20",
              "prefix_cost": "32.86",
              "data_read_per_join": "24K"
            },
            "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": 32,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.00",
              "eval_cost": "3.20",
              "prefix_cost": "44.06",
              "data_read_per_join": "19K"
            },
            "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 1380699356-15468-1-3_600x600_2x.jpg 500 407 N 11896 12424 product 15379 M 0 15379
0 1380699356-15468-1-3_600x600_2x_5nz5-jd.jpg 500 407 N 11897 12425 product 15380 M 0 15380
0 1380699356-15468-1-3_600x600_2x_aa7i-tr.jpg 500 407 N 11898 12426 product 15381 M 0 15381
0 1380699356-15468-1-3_600x600_2x_tip3-nq.jpg 500 407 N 11899 12427 product 15382 M 0 15382
0 1380699356-15468-1-3_600x600_2x_e1jm-wt.jpg 500 407 N 11900 12428 product 15383 M 0 15383
0 1380699356-15468-1-3_600x600_2x_sg67-o0.jpg 500 407 N 11901 12429 product 15384 M 0 15384
0 1380699356-15468-1-3_600x600_2x_8rit-ul.jpg 500 407 N 11906 12434 product 15389 M 0 15389
0 1380699356-15468-1-3_600x600_2x_vxwl-pk.jpg 500 407 N 11911 12439 product 15394 M 0 15394
0 1380699356-15468-1-3_600x600_2x_qznl-3j.jpg 500 407 N 11926 12454 product 15409 M 0 15409
0 Thanos-L1_600x600.jpg 600 574 N 12008 12536 product 15491 M 0 15491
0 Thanos-L1_600x600_hc29-4o.jpg 600 574 N 12009 12537 product 15492 M 0 15492
0 Thanos-L1_600x600_npkf-is.jpg 600 574 N 12010 12538 product 15493 M 0 15493
0 Thanos-L1_600x600_gtg3-jd.jpg 600 574 N 12011 12539 product 15494 M 0 15494
0 Thanos-L1_600x600_adfg-2i.jpg 600 574 N 12012 12540 product 15495 M 0 15495
0 Thanos-L1_600x600_m7cw-og.jpg 600 574 N 12013 12541 product 15496 M 0 15496
0 1381127127-11093-1-2_600x600_2x.jpg 443 500 N 12066 12594 product 15549 M 0 15549
0 1381127127-11093-1-2_600x600_2x_1rj7-fu.jpg 443 500 N 12067 12595 product 15550 M 0 15550
0 1381127127-11093-1-2_600x600_2x_ity4-wg.jpg 443 500 N 12068 12596 product 15551 M 0 15551
0 1381127127-11093-1-2_600x600_2x_vrr2-df.jpg 443 500 N 12069 12597 product 15552 M 0 15552
0 1381127127-11093-1-2_600x600_2x_4tq2-2y.jpg 443 500 N 12070 12598 product 15553 M 0 15553
0 1381127127-11093-1-2_600x600_2x_ov5q-5t.jpg 443 500 N 12071 12599 product 15554 M 0 15554
0 1381127127-11093-1-2_600x600_2x_3fxx-2n.jpg 443 500 N 12076 12604 product 15559 M 0 15559
0 1381224022-17016_600x600_2x.jpg 500 436 N 12081 12609 product 15564 M 0 15564
0 1381224022-17016_600x600_2x_0he0-zu.jpg 500 436 N 12082 12610 product 15565 M 0 15565
0 1381224022-17016_600x600_2x_a3tf-ba.jpg 500 436 N 12083 12611 product 15566 M 0 15566
0 1381224022-17016_600x600_2x_mu9d-iu.jpg 500 436 N 12084 12612 product 15567 M 0 15567
0 1381224022-17016_600x600_2x_5elx-kb.jpg 500 436 N 12085 12613 product 15568 M 0 15568
0 1381224022-17016_600x600_2x_tl3d-6j.jpg 500 436 N 12086 12614 product 15569 M 0 15569
0 1381224022-17016_600x600_2x_tkdt-11.jpg 500 436 N 12091 12619 product 15574 M 0 15574