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 (
    12684, 12704, 12694, 12689, 12688, 12687, 
    12686, 12685, 12714, 12724, 12734, 
    12719, 12715, 12716, 12717, 12718, 
    13261, 13260, 13262, 13263, 13264, 
    13265, 13266, 13267, 13268, 13269, 
    13270, 13271, 13272, 13273
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00142

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "78.46"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "33.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": 33,
            "rows_produced_per_join": 33,
            "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 (12684,12704,12694,12689,12688,12687,12686,12685,12714,12724,12734,12719,12715,12716,12717,12718,13261,13260,13262,13263,13264,13265,13266,13267,13268,13269,13270,13271,13272,13273)))",
            "cost_info": {
              "read_cost": "19.06",
              "eval_cost": "3.30",
              "prefix_cost": "22.36",
              "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": 33,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.25",
              "eval_cost": "3.30",
              "prefix_cost": "33.91",
              "data_read_per_join": "25K"
            },
            "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": 33,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "8.25",
              "eval_cost": "3.30",
              "prefix_cost": "45.46",
              "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 1380094497-13333_600x600_2x.jpg 500 238 N 12156 12684 product 15639 M 0 15639
0 1380094497-13333_600x600_2x_ke9e-pi.jpg 500 238 N 12157 12685 product 15640 M 0 15640
0 1380094497-13333_600x600_2x_bww4-na.jpg 500 238 N 12158 12686 product 15641 M 0 15641
0 1380094497-13333_600x600_2x_y3fu-q6.jpg 500 238 N 12159 12687 product 15642 M 0 15642
0 1380094497-13333_600x600_2x_0xkl-xn.jpg 500 238 N 12160 12688 product 15643 M 0 15643
0 1380094497-13333_600x600_2x_h9jx-hl.jpg 500 238 N 12161 12689 product 15644 M 0 15644
0 1380099760-24167_600x600_2x.jpg 500 238 N 12166 12694 product 15649 M 0 15649
0 1380099760-24167_600x600_2x_kta3-50.jpg 500 238 N 12176 12704 product 15659 M 0 15659
0 1380098192-13835_600x600_2x.jpg 500 334 N 12186 12714 product 15669 M 0 15669
0 1380098192-13835_600x600_2x_v96j-kb.jpg 500 334 N 12187 12715 product 15670 M 0 15670
0 1380098192-13835_600x600_2x_i5gw-xd.jpg 500 334 N 12188 12716 product 15671 M 0 15671
0 1380098192-13835_600x600_2x_tbys-k8.jpg 500 334 N 12189 12717 product 15672 M 0 15672
0 1380098192-13835_600x600_2x_amsd-9o.jpg 500 334 N 12190 12718 product 15673 M 0 15673
0 1380098192-13835_600x600_2x_ykyl-ic.jpg 500 334 N 12191 12719 product 15674 M 0 15674
0 1380522728-22669_600x600_2x.jpg 500 334 N 12196 12724 product 15679 M 0 15679
0 1380522728-22669_600x600_2x_qkj1-l6.jpg 500 334 N 12206 12734 product 15689 M 0 15689
0 1352909787-9956_600x600.jpg 500 432 N 18973 13260 product 22454 M 0 22454
0 1352909917-11095_600x600.jpg 500 432 N 18974 13261 product 22455 M 0 22455
0 1352910019-12077_600x600.jpg 500 432 N 18975 13262 product 22456 M 0 22456
0 1352910107-12773_600x600.jpg 500 432 N 18976 13263 product 22457 M 0 22457
0 1352910172-13360_600x600.jpg 500 432 N 18977 13264 product 22458 M 0 22458
0 1352910250-13930_600x600.jpg 500 432 N 18978 13265 product 22459 M 0 22459
0 1352910330-14542_600x600.jpg 500 432 N 18979 13266 product 22460 M 0 22460
0 x474851_600x600.jpg 500 432 N 18980 13267 product 22461 M 0 22461
0 1352908615-31041_600x600.jpg 500 432 N 18981 13268 product 22462 M 0 22462
0 1352908724-31983_600x600.jpg 500 432 N 18982 13269 product 22463 M 0 22463
0 1352908865-458_600x600.jpg 500 432 N 18983 13270 product 22464 M 0 22464
0 1352908973-1131_600x600.jpg 500 432 N 18984 13271 product 22465 M 0 22465
0 1352909064-2041_600x600.jpg 500 432 N 18985 13272 product 22466 M 0 22466
0 1352909171-3271_600x600.jpg 500 432 N 18986 13273 product 22467 M 0 22467