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 = 'M' 
  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.00180

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "238.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "43.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": 43,
            "rows_produced_per_join": 43,
            "filtered": "100.00",
            "index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'M') 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": "83.61",
              "eval_cost": "8.60",
              "prefix_cost": "92.21",
              "data_read_per_join": "4K"
            },
            "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": 43,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "43.00",
              "eval_cost": "8.60",
              "prefix_cost": "143.81",
              "data_read_per_join": "32K"
            },
            "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": 43,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "43.00",
              "eval_cost": "8.60",
              "prefix_cost": "195.41",
              "data_read_per_join": "25K"
            },
            "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 CAT-DRPHX-BLK_1.jpg 1024 1024 N 20011 9188 product 21973 M 0 21973
0 CAT-DRPHX-COR_1.jpg 1024 1024 N 20013 9190 product 21975 M 0 21975
0 CAT-DRPHX-GRN_1.jpg 1024 1024 N 20014 9191 product 21976 M 0 21976
0 CAT-DRPHX-TBFC_1.jpg 1024 1024 N 20015 9192 product 21977 M 0 21977
0 CAT-DRPHX-BLKL_2_14598e12-514f-4f24-859d-063cffb68dfb.jpg 1500 1500 N 20016 9193 product 21978 M 0 21978
0 CLIC-BLK-MBMT-7P_LS.jpg 800 800 N 20027 9204 product 21989 M 0 21989
0 CLIC-CLE-AIR-7_LS.jpg 800 800 N 20028 9205 product 21990 M 0 21990
0 CLIC-CLE-AIR-7P_LS.jpg 800 800 N 20029 9206 product 21991 M 0 21991
0 CLICCRL-TAU-7_2.jpeg 450 450 N 20031 9208 product 21993 M 0 21993
0 CLIC-WHT-MBMT-7_LS.jpg 800 800 N 20032 9209 product 21994 M 0 21994
0 CM-CM031453_1.jpg 679 679 N 20033 9210 product 21995 M 0 21995
0 CM-CM032156_2.jpg 500 455 N 20034 9211 product 21996 M 0 21996
0 CM-CM032327_3.jpg 1500 1500 N 20036 9213 product 21998 M 0 21998
0 CM034674_LS1_03287ce2-b804-44c5-aee2-6dff58f9b6b1.jpg 800 800 N 20044 9221 product 22006 M 0 22006
0 CM034674_LS1.jpg 800 800 N 20045 9222 product 22007 M 0 22007
0 cmi_iphone_8_waterfall_iridesecnt_1.png 700 700 N 20048 9225 product 22010 M 0 22010
0 CM034698_LS.jpg 800 800 N 20051 9228 product 22013 M 0 22013
0 CM034700_LS.jpg 800 800 N 20052 9229 product 22014 M 0 22014
0 CM034704_LS.jpg 800 800 N 20054 9231 product 22016 M 0 22016
0 CM034706_LS.jpg 800 800 N 20055 9232 product 22017 M 0 22017
0 CM034748_LS.jpg 800 800 N 20056 9233 product 22018 M 0 22018
0 CM034680_1_51b34652-ff25-4ce7-b4b6-f2d5f60a81bd.jpg 800 800 N 20057 9234 product 22019 M 0 22019
0 CM034764_LS.jpg 800 800 N 20058 9235 product 22020 M 0 22020
0 CM-CM034768.jpg 355 355 N 20059 9236 product 22021 M 0 22021
0 CM034812_LS.jpg 800 800 N 20060 9237 product 22022 M 0 22022
0 case_web.jpg 640 626 N 61983 9207 product 63939 M 0 63939
0 3_ucef-vj.jpg 640 626 N 81480 9212 product 83423 M 0 83423
0 CM034702_LS.jpg 800 800 N 20053 9230 product 22015 M 1 22015
0 61GcFYmbCZL._SL1001_.jpg 1001 1001 N 21183 9224 product 23145 M 1 23145
0 71aM49qeC3L._SL1024_.jpg 1024 1024 N 21184 9227 product 23146 M 1 23146
0 GRCMIP7NKWA-lifestyle.jpg 600 380 N 80464 9226 product 82407 M 1 82407
0 71p5KBlYHFL._AC_SL1500_.jpg 1500 1280 N 80942 9189 product 82885 M 2 82885