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 (
    '37826', '37827', '37832', '37833', 
    '37850', '37858', '37862', '37864', 
    '37867', '37868', '37869', '37872', 
    '37873', '37874', '37879', '37880'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00110

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "179.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "34.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": 34,
            "rows_produced_per_join": 34,
            "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 ('37826','37827','37832','37833','37850','37858','37862','37864','37867','37868','37869','37872','37873','37874','37879','37880')))",
            "cost_info": {
              "read_cost": "56.81",
              "eval_cost": "6.80",
              "prefix_cost": "63.61",
              "data_read_per_join": "3K"
            },
            "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": 34,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.00",
              "eval_cost": "6.80",
              "prefix_cost": "104.41",
              "data_read_per_join": "26K"
            },
            "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": 34,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "34.00",
              "eval_cost": "6.80",
              "prefix_cost": "145.21",
              "data_read_per_join": "20K"
            },
            "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 8166tQE7p8L._SL1500_.jpg 1500 1125 N 62635 37862 product 64591 M 0 64591
0 Capture_82mf-w9.PNG 509 473 N 62845 37833 product 64801 M 0 64801
0 61wdnQnuIVL._SL1280_.jpg 960 1280 N 62856 37827 product 64812 M 0 64812
0 31jHunxZ13L.jpg 500 500 N 62857 37826 product 64813 M 0 64813
0 51r7j2FvhSL._SL500_AA300_.jpg 300 300 N 62884 37850 product 64840 M 0 64840
0 513Lblr9aiL._SL1200_.jpg 1200 1200 N 63198 37832 product 65154 M 0 65154
0 22874556106.jpg 700 700 N 63209 37867 product 65165 M 0 65165
0 rose-elixir-hair-mist.jpg 248 414 N 63210 37868 product 65166 M 0 65166
0 white-musk-hair-mist.jpg 248 414 N 63212 37869 product 65168 M 0 65168
0 61ErWzETz7L._SX522_.jpg 522 369 N 63216 37873 product 65172 M 0 65172
0 df8ffbaa59dacda9005b1c4074c85dbdb27903a1.jpg 275 442 N 63217 37874 product 65173 M 0 65173
0 item_XL_7139058_5227041.jpg 386 319 N 63969 37879 product 65925 M 0 65925
0 shower_gel_web_oyek-e0.jpg 640 626 N 69444 37864 product 71395 M 0 71395
0 2_h1dx-lh.jpg 640 626 N 80536 37858 product 82479 M 0 82479
0 41-9nEocBcL._SL1000_.jpg 1000 1000 N 63215 37872 product 65171 M 1 65171
0 69464w.jpg 600 600 N 63970 37880 product 65926 M 1 65926