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 (
    '37374', '37375', '37376', '37377', 
    '37378', '37379', '37380', '37381', 
    '37382', '37383', '37384', '37385', 
    '37386', '37387', '37388', '37389'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00123

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "150.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "28.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": 28,
            "rows_produced_per_join": 28,
            "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 ('37374','37375','37376','37377','37378','37379','37380','37381','37382','37383','37384','37385','37386','37387','37388','37389')))",
            "cost_info": {
              "read_cost": "49.61",
              "eval_cost": "5.60",
              "prefix_cost": "55.21",
              "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": 28,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "28.00",
              "eval_cost": "5.60",
              "prefix_cost": "88.81",
              "data_read_per_join": "21K"
            },
            "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": 28,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "28.00",
              "eval_cost": "5.60",
              "prefix_cost": "122.41",
              "data_read_per_join": "16K"
            },
            "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 61CRiI9XK7L._SL1050_.jpg 910 1050 N 62068 37389 product 64024 M 0 64024
0 41lYH4TSMiL.jpg 500 500 N 62069 37388 product 64025 M 0 64025
0 0096666.jpg 545 545 N 62071 37385 product 64027 M 0 64027
0 375x500.23333.jpg 375 500 N 62073 37384 product 64029 M 0 64029
0 51IlNuKnxKL._SL1000_.jpg 1000 1000 N 62074 37383 product 64030 M 0 64030
0 61MCEiBLCkL._SL1000_.jpg 1000 1000 N 62078 37382 product 64034 M 0 64034
0 375x500.42937.jpg 375 500 N 62079 37381 product 64035 M 0 64035
0 511D-v476YL._UX679_.jpg 679 679 N 62083 37380 product 64039 M 0 64039
0 375x500.43617.jpg 375 500 N 62086 37379 product 64042 M 0 64042
0 375x500.40594.jpg 375 500 N 62088 37378 product 64044 M 0 64044
0 375x500.44459.jpg 375 500 N 62090 37377 product 64046 M 0 64046
0 375x500.44458.jpg 375 500 N 62091 37376 product 64047 M 0 64047
0 315r3IoewGL.jpg 500 500 N 62093 37375 product 64049 M 0 64049
0 61V75bZbCPL._SL1500_.jpg 1500 1500 N 62094 37374 product 64050 M 0 64050
0 tiffany-and-co-75ml_grande.png 600 600 N 62329 37387 product 64285 M 0 64285
0 51g8qFqB7aL._SX522_.jpg 522 522 N 62070 37386 product 64026 M 1 64026