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 (
    '37115', '37116', '37117', '37118', 
    '37119', '37120', '37121', '37122', 
    '37123', '37124', '37125', '37126', 
    '37127', '37128', '37129', '37130'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00118

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "140.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "26.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": 26,
            "rows_produced_per_join": 26,
            "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 ('37115','37116','37117','37118','37119','37120','37121','37122','37123','37124','37125','37126','37127','37128','37129','37130')))",
            "cost_info": {
              "read_cost": "47.21",
              "eval_cost": "5.20",
              "prefix_cost": "52.41",
              "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": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "26.00",
              "eval_cost": "5.20",
              "prefix_cost": "83.61",
              "data_read_per_join": "19K"
            },
            "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": 26,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "26.00",
              "eval_cost": "5.20",
              "prefix_cost": "114.81",
              "data_read_per_join": "15K"
            },
            "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 463681-Zoom.jpg 1000 1000 N 57718 37122 product 59678 M 0 59678
0 51qWgnyqHSL._SL1000_.jpg 1000 1000 N 58506 37124 product 60462 M 0 60462
0 51hFZCM6qPL._SL1000_.jpg 1000 1000 N 59204 37129 product 61160 M 0 61160
0 51pOtoepDuL._SL1000_.jpg 1000 1000 N 59205 37128 product 61161 M 0 61161
0 51hhf9cwa0L._SL1000_.jpg 1000 1000 N 59206 37127 product 61162 M 0 61162
0 71GH16N5H-L._SY550_.jpg 339 550 N 59207 37126 product 61163 M 0 61163
0 61cuNWSzydL._SL1500_.jpg 1500 1500 N 59208 37125 product 61164 M 0 61164
0 61BHO4QBbzL._SL1000_.jpg 1000 1000 N 59209 37123 product 61165 M 0 61165
0 61Y1CgMrOUL._SL1500_.jpg 1500 1500 N 59210 37121 product 61166 M 0 61166
0 313qZdSBWYL.jpg 500 500 N 59211 37119 product 61167 M 0 61167
0 61ysE9x5GhL._SL1500_.jpg 1500 1500 N 59212 37118 product 61168 M 0 61168
0 61zLN_KSPfL._SL1500_.jpg 1500 1500 N 59213 37117 product 61169 M 0 61169
0 61LGQQ00rML._SL1500_.jpg 1500 1500 N 59215 37116 product 61171 M 0 61171
0 ms-collection-no15-opium-edp-30-ml.jpg 800 800 N 62028 37115 product 63984 M 0 63984
0 item_XXL_22328666_30208018.jpg 1000 666 N 62997 37130 product 64953 M 0 64953
0 k.PNG 711 735 N 67712 37120 product 69663 M 0 69663