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 (
    12116, 12117, 12118, 12125, 12119, 12120, 
    12121, 12122, 12123, 12124, 12132, 
    12139, 12133, 12134, 12135, 12136, 
    12137, 12138, 12146, 12153, 12147, 
    12148, 12149, 12150, 12151, 12152, 
    12160, 12167, 12161, 12162, 12163, 
    12164, 12165, 12166, 12174, 12181, 
    12175, 12176, 12177, 12178, 12179, 
    12180, 12188, 12195, 12189, 12190, 
    12191, 12192, 12193, 12194, 12202, 
    12203, 12204, 12205, 12206, 12207
  ) 
ORDER BY 
  cscart_images_links.position, 
  cscart_images_links.pair_id

Query time 0.00182

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "280.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "124.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": 124,
            "rows_produced_per_join": 124,
            "filtered": "100.00",
            "index_condition": "((`gaseus`.`cscart_images_links`.`object_type` = 'product') and (`gaseus`.`cscart_images_links`.`type` = 'M') and (`gaseus`.`cscart_images_links`.`object_id` in (12116,12117,12118,12125,12119,12120,12121,12122,12123,12124,12132,12139,12133,12134,12135,12136,12137,12138,12146,12153,12147,12148,12149,12150,12151,12152,12160,12167,12161,12162,12163,12164,12165,12166,12174,12181,12175,12176,12177,12178,12179,12180,12188,12195,12189,12190,12191,12192,12193,12194,12202,12203,12204,12205,12206,12207)))",
            "cost_info": {
              "read_cost": "57.41",
              "eval_cost": "12.40",
              "prefix_cost": "69.81",
              "data_read_per_join": "11K"
            },
            "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": [
              "gaseus.cscart_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 124,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "31.00",
              "eval_cost": "12.40",
              "prefix_cost": "113.21",
              "data_read_per_join": "94K"
            },
            "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": [
              "gaseus.cscart_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 124,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "31.00",
              "eval_cost": "12.40",
              "prefix_cost": "156.61",
              "data_read_per_join": "73K"
            },
            "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 1331294095-27634_600x600_2x.jpg 308 580 N 11588 12116 product 15071 M 0 15071
0 1331294095-27634_600x600_2x_z5s0-q8.jpg 308 580 N 11589 12117 product 15072 M 0 15072
0 1334300582-13651_600x600_2x.jpg 496 580 N 11590 12118 product 15073 M 0 15073
0 1334300582-13651_600x600_2x_sza9-wd.jpg 496 580 N 11591 12119 product 15074 M 0 15074
0 1334300582-13651_600x600_2x_x3au-im.jpg 496 580 N 11592 12120 product 15075 M 0 15075
0 1334300582-13651_600x600_2x_u8sy-xq.jpg 496 580 N 11593 12121 product 15076 M 0 15076
0 1334300582-13651_600x600_2x_2vtr-3u.jpg 496 580 N 11594 12122 product 15077 M 0 15077
0 1334300582-13651_600x600_2x_t05i-km.jpg 496 580 N 11595 12123 product 15078 M 0 15078
0 1334300582-13651_600x600_2x_6x42-ph.jpg 496 580 N 11596 12124 product 15079 M 0 15079
0 1334300582-13651_600x600_2x_8p5q-5w.jpg 496 580 N 11597 12125 product 15080 M 0 15080
0 1334302181-19161_600x600_2x.jpg 496 580 N 11604 12132 product 15087 M 0 15087
0 1334302181-19161_600x600_2x_zyc2-o2.jpg 496 580 N 11605 12133 product 15088 M 0 15088
0 1334302181-19161_600x600_2x_x8pg-ca.jpg 496 580 N 11606 12134 product 15089 M 0 15089
0 1334302181-19161_600x600_2x_k7pm-nh.jpg 496 580 N 11607 12135 product 15090 M 0 15090
0 1334302181-19161_600x600_2x_gsqh-kk.jpg 496 580 N 11608 12136 product 15091 M 0 15091
0 1334302181-19161_600x600_2x_vpm4-7b.jpg 496 580 N 11609 12137 product 15092 M 0 15092
0 1334302181-19161_600x600_2x_x991-2h.jpg 496 580 N 11610 12138 product 15093 M 0 15093
0 1334302181-19161_600x600_2x_9pw7-px.jpg 496 580 N 11611 12139 product 15094 M 0 15094
0 1331812897-19632_600x600_2x.jpg 502 580 N 11618 12146 product 15101 M 0 15101
0 1331812897-19632_600x600_2x_wzpx-7d.jpg 502 580 N 11619 12147 product 15102 M 0 15102
0 1331812897-19632_600x600_2x_3vgl-jj.jpg 502 580 N 11620 12148 product 15103 M 0 15103
0 1331812897-19632_600x600_2x_0b7z-5j.jpg 502 580 N 11621 12149 product 15104 M 0 15104
0 1331812897-19632_600x600_2x_eb70-zb.jpg 502 580 N 11622 12150 product 15105 M 0 15105
0 1331812897-19632_600x600_2x_9lqe-fs.jpg 502 580 N 11623 12151 product 15106 M 0 15106
0 1331812897-19632_600x600_2x_iuay-lg.jpg 502 580 N 11624 12152 product 15107 M 0 15107
0 1331812897-19632_600x600_2x_y11v-nf.jpg 502 580 N 11625 12153 product 15108 M 0 15108
0 1532594526-23483_600x600_2x.jpg 404 500 N 11632 12160 product 15115 M 0 15115
0 1532594526-23483_600x600_2x_pa6p-ed.jpg 404 500 N 11633 12161 product 15116 M 0 15116
0 1532594526-23483_600x600_2x_mw36-7n.jpg 404 500 N 11634 12162 product 15117 M 0 15117
0 1532594526-23483_600x600_2x_82w4-4p.jpg 404 500 N 11635 12163 product 15118 M 0 15118
0 1532594526-23483_600x600_2x_g8ou-ei.jpg 404 500 N 11636 12164 product 15119 M 0 15119
0 1532594526-23483_600x600_2x_dchi-r1.jpg 404 500 N 11637 12165 product 15120 M 0 15120
0 1532594526-23483_600x600_2x_hydk-qg.jpg 404 500 N 11638 12166 product 15121 M 0 15121
0 1532594526-23483_600x600_2x_yo0g-xl.jpg 404 500 N 11639 12167 product 15122 M 0 15122
0 1533025782-14787_600x600_2x.jpg 404 500 N 11646 12174 product 15129 M 0 15129
0 1533025782-14787_600x600_2x_p37n-qp.jpg 404 500 N 11647 12175 product 15130 M 0 15130
0 1533025782-14787_600x600_2x_qidc-t2.jpg 404 500 N 11648 12176 product 15131 M 0 15131
0 1533025782-14787_600x600_2x_gu2o-7m.jpg 404 500 N 11649 12177 product 15132 M 0 15132
0 1533025782-14787_600x600_2x_rdok-uy.jpg 404 500 N 11650 12178 product 15133 M 0 15133
0 1533025782-14787_600x600_2x_f3ot-sb.jpg 404 500 N 11651 12179 product 15134 M 0 15134
0 1533025782-14787_600x600_2x_zzo9-kl.jpg 404 500 N 11652 12180 product 15135 M 0 15135
0 1533025782-14787_600x600_2x_xek1-eh.jpg 404 500 N 11653 12181 product 15136 M 0 15136
0 1533026597-31967_600x600_2x.jpg 404 500 N 11660 12188 product 15143 M 0 15143
0 1533026597-31967_600x600_2x_fazh-uw.jpg 404 500 N 11661 12189 product 15144 M 0 15144
0 1533026597-31967_600x600_2x_0vml-pk.jpg 404 500 N 11662 12190 product 15145 M 0 15145
0 1533026597-31967_600x600_2x_3hkk-ak.jpg 404 500 N 11663 12191 product 15146 M 0 15146
0 1533026597-31967_600x600_2x_eppp-jf.jpg 404 500 N 11664 12192 product 15147 M 0 15147
0 1533026597-31967_600x600_2x_t9j1-km.jpg 404 500 N 11665 12193 product 15148 M 0 15148
0 1533026597-31967_600x600_2x_7usn-i4.jpg 404 500 N 11666 12194 product 15149 M 0 15149
0 1533026597-31967_600x600_2x_6l0y-6h.jpg 404 500 N 11667 12195 product 15150 M 0 15150
0 1533027145-12194-2_600x600_2x.jpg 404 500 N 11674 12202 product 15157 M 0 15157
0 1533027145-12194-2_600x600_2x_233p-xb.jpg 404 500 N 11675 12203 product 15158 M 0 15158
0 1533027145-12194-2_600x600_2x_ro9p-e7.jpg 404 500 N 11676 12204 product 15159 M 0 15159
0 1533027145-12194-2_600x600_2x_yq00-2q.jpg 404 500 N 11677 12205 product 15160 M 0 15160
0 1533027145-12194-2_600x600_2x_8tsx-a1.jpg 404 500 N 11678 12206 product 15161 M 0 15161
0 1533027145-12194-2_600x600_2x_gus7-l0.jpg 404 500 N 11679 12207 product 15162 M 0 15162