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 (
    '37244', '37245', '37246', '37247', 
    '37248', '37249', '37250', '37251', 
    '37252', '37253', '37254', '37255', 
    '37256', '37257', '37258', '37259'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00112

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "155.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "29.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": 29,
            "rows_produced_per_join": 29,
            "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 ('37244','37245','37246','37247','37248','37249','37250','37251','37252','37253','37254','37255','37256','37257','37258','37259')))",
            "cost_info": {
              "read_cost": "50.81",
              "eval_cost": "5.80",
              "prefix_cost": "56.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": 29,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "29.00",
              "eval_cost": "5.80",
              "prefix_cost": "91.41",
              "data_read_per_join": "22K"
            },
            "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": 29,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "29.00",
              "eval_cost": "5.80",
              "prefix_cost": "126.21",
              "data_read_per_join": "17K"
            },
            "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 510nYYB977L._SL1000_.jpg 1000 1000 N 58387 37245 product 60343 M 0 60343
0 1295113.jpg 840 602 N 58390 37246 product 60346 M 0 60346
0 81GIIhA8cyL._SL1280_.jpg 1280 1280 N 58392 37247 product 60348 M 0 60348
0 31PSbtrqbOL.jpg 350 350 N 58394 37249 product 60350 M 0 60350
0 51lNhCMS4jL._UX679_.jpg 679 679 N 58396 37250 product 60352 M 0 60352
0 61SspSjXB0L._SL1200_.jpg 1200 1200 N 58398 37251 product 60354 M 0 60354
0 91BQNqOZaPL._SL1500_.jpg 1500 1126 N 58402 37253 product 60358 M 0 60358
0 1565852327-l.jpg 850 850 N 58405 37254 product 60361 M 0 60361
0 612-YHY7FtL._SX522_.jpg 522 522 N 58408 37255 product 60364 M 0 60364
0 download_qmse-7y.jpg 224 225 N 58413 37248 product 60369 M 0 60369
0 download__1_.jpg 194 259 N 58415 37252 product 60371 M 0 60371
0 51SWQZ1q1LL._SL1000_.jpg 1000 1000 N 58420 37257 product 60376 M 0 60376
0 41sCnVtXT8L._SX425_.jpg 425 489 N 58423 37259 product 60379 M 0 60379
0 375x500.30734.jpg 375 500 N 58455 37258 product 60411 M 0 60411
0 41qO1dQ8mFL.jpg 403 500 N 59183 37256 product 61139 M 0 61139
0 41-kzeQ2TyL.jpg 500 500 N 58385 37244 product 60341 M 1 60341