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 (
    '37406', '37407', '37408', '37409', 
    '37410', '37411', '37412', '37413', 
    '37414', '37415', '37416', '37417', 
    '37418', '37419', '37420', '37421'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00101

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 ('37406','37407','37408','37409','37410','37411','37412','37413','37414','37415','37416','37417','37418','37419','37420','37421')))",
            "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 61hvJAD3tvL._SL1500_.jpg 923 1500 N 58577 37406 product 60533 M 0 60533
0 71tWvkBcZZL._SL1500_.jpg 1296 1500 N 58579 37407 product 60535 M 0 60535
0 71t6IO81FuL._SL1500_.jpg 1296 1500 N 58581 37408 product 60537 M 0 60537
0 51vsFNhpzbL._SL1102_.jpg 1082 1102 N 58582 37410 product 60538 M 0 60538
0 71PPmdFkDfL._SL1500_.jpg 1125 1500 N 58585 37414 product 60541 M 0 60541
0 41SxA-vVVXL._SL1000_.jpg 1000 1000 N 58591 37415 product 60547 M 0 60547
0 71p6ap7RQJL._SL1500_.jpg 269 1500 N 58593 37416 product 60549 M 0 60549
0 81lfS7dZ10L._SL1500_.jpg 1259 1500 N 58594 37417 product 60550 M 0 60550
0 81cJJ9FpffL._UY741_.jpg 308 741 N 58601 37419 product 60557 M 0 60557
0 61rnMUwlwGL._SL1200_.jpg 1200 1200 N 58603 37420 product 60559 M 0 60559
0 818J7vgKHCL._SL1500_.jpg 1500 1500 N 58606 37421 product 60562 M 0 60562
0 375x500.46380.jpg 375 500 N 58673 37409 product 60629 M 0 60629
0 61ihvP6D9OL._SL1227_.jpg 1100 1227 N 58675 37411 product 60631 M 0 60631
0 71o4YSz-vuL._SL1500_.jpg 1125 1500 N 58677 37413 product 60633 M 0 60633
0 41m8cMmFN8L.jpg 434 500 N 67708 37418 product 69659 M 0 69659