SELECT 
  q_images.*, 
  q_images_links.*, 
  q_common_descriptions.description AS alt, 
  q_images.image_id AS images_image_id 
FROM 
  q_images_links 
  LEFT JOIN q_images ON q_images_links.detailed_id = q_images.image_id 
  LEFT JOIN q_common_descriptions ON q_common_descriptions.object_id = q_images.image_id 
  AND q_common_descriptions.object_holder = 'images' 
  AND q_common_descriptions.lang_code = 'en' 
WHERE 
  q_images_links.object_type = 'product' 
  AND q_images_links.type = 'A' 
  AND q_images_links.object_id IN (
    '9188', '9189', '9190', '9191', '9192', 
    '9193', '9204', '9205', '9206', '9207', 
    '9208', '9209', '9210', '9211', '9212', 
    '9213', '9221', '9222', '9224', '9225', 
    '9226', '9227', '9228', '9229', '9230', 
    '9231', '9232', '9233', '9234', '9235', 
    '9236', '9237'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00186

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "315.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "59.00"
      },
      "nested_loop": [
        {
          "table": {
            "table_name": "q_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": 59,
            "rows_produced_per_join": 59,
            "filtered": "100.00",
            "index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'A') and (`portal`.`q_images_links`.`object_id` in ('9188','9189','9190','9191','9192','9193','9204','9205','9206','9207','9208','9209','9210','9211','9212','9213','9221','9222','9224','9225','9226','9227','9228','9229','9230','9231','9232','9233','9234','9235','9236','9237')))",
            "cost_info": {
              "read_cost": "102.81",
              "eval_cost": "11.80",
              "prefix_cost": "114.61",
              "data_read_per_join": "5K"
            },
            "used_columns": [
              "pair_id",
              "object_id",
              "object_type",
              "image_id",
              "detailed_id",
              "type",
              "position"
            ]
          }
        },
        {
          "table": {
            "table_name": "q_images",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "image_id"
            ],
            "key_length": "4",
            "ref": [
              "portal.q_images_links.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 59,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "59.00",
              "eval_cost": "11.80",
              "prefix_cost": "185.41",
              "data_read_per_join": "45K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ],
            "attached_condition": "<if>(is_not_null_compl(q_images), (`portal`.`q_images_links`.`detailed_id` = `portal`.`q_images`.`image_id`), true)"
          }
        },
        {
          "table": {
            "table_name": "q_common_descriptions",
            "access_type": "eq_ref",
            "possible_keys": [
              "PRIMARY"
            ],
            "key": "PRIMARY",
            "used_key_parts": [
              "object_id",
              "lang_code",
              "object_holder"
            ],
            "key_length": "107",
            "ref": [
              "portal.q_images.image_id",
              "const",
              "const"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 59,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "59.00",
              "eval_cost": "11.80",
              "prefix_cost": "256.21",
              "data_read_per_join": "35K"
            },
            "used_columns": [
              "object_id",
              "description",
              "lang_code",
              "object_holder"
            ],
            "attached_condition": "<if>(is_not_null_compl(q_common_descriptions), (`portal`.`q_common_descriptions`.`object_id` = `portal`.`q_images`.`image_id`), true)"
          }
        }
      ]
    }
  }
}

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 816VZS1OrDL._AC_SL1500_.jpg 569 1500 N 80948 9232 product 82891 A 0 82891
0 816VZS1OrDL._AC_SL1500__vybf-l2.jpg 569 1500 N 80950 9232 product 82893 A 0 82893
0 N11083686A_1.jpg 800 1091 N 80951 9233 product 82894 A 0 82894
0 SUPM47608-1-2x.jpg 1000 1000 N 80953 9235 product 82896 A 0 82896
0 CLICCRL-MAR-7P_LS.jpg 800 800 N 20030 9207 product 21992 A 1 21992
0 CASE-MATE_IPAD_AIR_2_TUXEDO_BARELY_THERE-_GREY_2.jpg 700 700 N 20035 9212 product 21997 A 1 21997
0 51lViNrJuqL._SL1000_.jpg 1000 1000 N 80458 9221 product 82401 A 1 82401
0 61Ou3Q0NiTL._SL1000__lch7-vx.jpg 1000 1000 N 80460 9222 product 82403 A 1 82403
0 81ycmRP7K0L._SL1500_.jpg 1500 1500 N 80467 9228 product 82410 A 1 82410
0 619lQnuoArL._AC_SL1024_.jpg 1024 1024 N 80473 9210 product 82416 A 1 82416
0 31nySG2Uf9L._AC_.jpg 243 324 N 80474 9211 product 82417 A 1 82417
0 31nySG2Uf9L._AC__jzvl-an.jpg 243 324 N 80475 9211 product 82418 A 1 82418
0 81Vy3Jce3fL._SL1500_.jpg 1500 1500 N 80477 9213 product 82420 A 1 82420
0 71BV4EPVeCL._AC_SL1500_.jpg 1446 1498 N 80939 9188 product 82882 A 1 82882
0 41tN1YyfR-L._AC_.jpg 244 477 N 80952 9234 product 82895 A 1 82895
0 71xMBU4A5JL._AC_SL1000_.jpg 468 907 N 80954 9236 product 82897 A 1 82897
0 71xMBU4A5JL._AC_SL1000__oi79-we.jpg 468 907 N 80955 9236 product 82898 A 1 82898
0 619lQnuoArL._SL1024_.jpg 1024 1024 N 21185 9227 product 23147 A 2 23147
0 61Ou3Q0NiTL._SL1000_.jpg 1000 1000 N 80459 9221 product 82402 A 2 82402
0 71gARXVlJcL._SL1500_.jpg 1500 1500 N 80461 9222 product 82404 A 2 82404
0 915OesaH53L._AC_SY450_.jpg 343 450 N 80462 9224 product 82405 A 2 82405
0 15-01069-2.jpg 320 320 N 80465 9226 product 82408 A 2 82408
0 71TjrYUjq8L._AC_SL1500_.jpg 1498 1045 N 80476 9212 product 82419 A 2 82419
0 91SAdhrF24L._SL1500_.jpg 1308 1500 N 80478 9213 product 82421 A 2 82421
0 716EHz-IwVL._AC_SL1500_.jpg 1500 1222 N 80940 9188 product 82883 A 2 82883
0 71Ct4WRysKL._AC_SL1500_.jpg 970 1500 N 80947 9231 product 82890 A 2 82890
0 71Ct4WRysKL._AC_SL1500__yo6w-3h.jpg 970 1500 N 80949 9231 product 82892 A 2 82892
0 813SzumrYmL._SL1500_.jpg 1500 1500 N 21186 9227 product 23148 A 3 23148
0 71C14TBLN6L._AC_SL1228_.jpg 940 1216 N 80463 9224 product 82406 A 3 82406
0 71UGhZBmnSL._SL1500_.jpg 1500 1500 N 80479 9213 product 82422 A 3 82422
0 71mzUz_FLYL._AC_SL1500_.jpg 1500 1322 N 80941 9188 product 82884 A 3 82884
0 71M-9f9u6pL._AC_SL1500_.jpg 1500 1351 N 80943 9189 product 82886 A 3 82886
0 818QQHhcx5L._SL1500_.jpg 678 1500 N 21187 9227 product 23149 A 4 23149