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 (
    '9219', '9220', '9221', '9222', '9223', 
    '9224', '9225', '9226', '9227', '9228', 
    '9229', '9230', '9231', '9232', '9233', 
    '9234'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00107

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "131.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "24.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": 24,
            "rows_produced_per_join": 24,
            "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 ('9219','9220','9221','9222','9223','9224','9225','9226','9227','9228','9229','9230','9231','9232','9233','9234')))",
            "cost_info": {
              "read_cost": "44.81",
              "eval_cost": "4.80",
              "prefix_cost": "49.61",
              "data_read_per_join": "2K"
            },
            "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": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "4.80",
              "prefix_cost": "78.41",
              "data_read_per_join": "18K"
            },
            "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": 24,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "24.00",
              "eval_cost": "4.80",
              "prefix_cost": "107.21",
              "data_read_per_join": "14K"
            },
            "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 link2.jpg 700 700 N 20042 9219 product 22004 M 0 22004
0 tb1.png 700 700 N 20043 9220 product 22005 M 0 22005
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 CM-CM032905.jpg 569 569 N 20046 9223 product 22008 M 0 22008
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 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