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 (
    '37276', '37277', '37278', '37279', 
    '37280', '37281', '37283', '37284', 
    '37285', '37286', '37287', '37288', 
    '37289', '37290', '37291', '37292'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00113

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "145.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "27.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": 27,
            "rows_produced_per_join": 27,
            "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 ('37276','37277','37278','37279','37280','37281','37283','37284','37285','37286','37287','37288','37289','37290','37291','37292')))",
            "cost_info": {
              "read_cost": "48.41",
              "eval_cost": "5.40",
              "prefix_cost": "53.81",
              "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": 27,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "27.00",
              "eval_cost": "5.40",
              "prefix_cost": "86.21",
              "data_read_per_join": "20K"
            },
            "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": 27,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "27.00",
              "eval_cost": "5.40",
              "prefix_cost": "118.61",
              "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 51xjeM111BL._SL1000_.jpg 1000 1000 N 59216 37291 product 61172 M 0 61172
0 41w_xUoq40L.jpg 500 500 N 59217 37290 product 61173 M 0 61173
0 51735ofk7eL._SL1000_.jpg 1000 1000 N 59218 37289 product 61174 M 0 61174
0 81qqDwEQMDL._SL1500_.jpg 1000 1500 N 59219 37288 product 61175 M 0 61175
0 copy_noran_perfumes_6654788916202_5c5054afb0f38_images_10623670622.jpg 488 630 N 59220 37287 product 61176 M 0 61176
0 966189192af4f1e1757e7d6760f1feb6.jpg 700 600 N 59222 37286 product 61178 M 0 61178
0 937ce6e8c79bde40b318ad0624d91a54.jpg 700 600 N 59223 37285 product 61179 M 0 61179
0 14db776bcad9d9b5783f92972a642910.jpg 700 600 N 59224 37284 product 61180 M 0 61180
0 568ef81d7f407527e1c25fb819ad87e6.jpg 700 600 N 59225 37283 product 61181 M 0 61181
0 Baccarat_Rouge_540_Maison_Kurkdjian_Edp_70ml_U.jpg 1500 1500 N 59227 37280 product 61183 M 0 61183
0 411wwoAPELL.jpg 500 500 N 59228 37279 product 61184 M 0 61184
0 41ln8_p9LNL.jpg 500 500 N 59229 37278 product 61185 M 0 61185
0 81j_KGVZ7cL._SL1500_.jpg 1500 1096 N 59230 37277 product 61186 M 0 61186
0 81f6CmOfYRL._SL1500_.jpg 940 1500 N 59232 37276 product 61188 M 0 61188
0 4117d0ed2c0ca066b5e8bb4842ad14e0-compo_gf_baccarat_rouge_540_eau_de_parfum_70ml_rvb-1331.jpg 720 720 N 62306 37281 product 64262 M 0 64262
0 N23426332A_1.jpg 800 1091 N 62308 37292 product 64264 M 0 64264