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 (
    '8592', '8593', '8594', '8595', '8596', 
    '8597', '8598', '8601', '8602', '8603', 
    '8604', '8605', '8606', '8607', '8608', 
    '8609'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00128

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "92.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.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": 16,
            "rows_produced_per_join": 16,
            "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 ('8592','8593','8594','8595','8596','8597','8598','8601','8602','8603','8604','8605','8606','8607','8608','8609')))",
            "cost_info": {
              "read_cost": "35.21",
              "eval_cost": "3.20",
              "prefix_cost": "38.41",
              "data_read_per_join": "1K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "57.61",
              "data_read_per_join": "12K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "76.81",
              "data_read_per_join": "9K"
            },
            "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 51Mw2h_K30L.jpg 500 500 N 17980 8592 product 19942 M 0 19942
0 31UKkubi36L.jpg 500 294 N 17983 8593 product 19945 M 0 19945
0 41YAkYrHarL.jpg 500 500 N 17985 8594 product 19947 M 0 19947
0 51Xa0Gu9p8L.jpg 500 500 N 17990 8595 product 19952 M 0 19952
0 517tgKWBXDL.jpg 500 500 N 17995 8596 product 19957 M 0 19957
0 51cLSOF5szL.jpg 500 500 N 17996 8597 product 19958 M 0 19958
0 51F1fZsuFZL.jpg 500 500 N 17997 8598 product 19959 M 0 19959
0 41jDvDGZD_L.jpg 500 500 N 18004 8602 product 19966 M 0 19966
0 41761Q_qQvL.jpg 500 500 N 18006 8603 product 19968 M 0 19968
0 41k_Bs2EwGL.jpg 500 500 N 18012 8604 product 19974 M 0 19974
0 419zmCMMRML.jpg 500 500 N 18017 8605 product 19979 M 0 19979
0 41ysKmWxO3L.jpg 500 500 N 18019 8606 product 19981 M 0 19981
0 41Lv__cK6aL.jpg 500 500 N 18021 8607 product 19983 M 0 19983
0 91Y8T8k68IL._SL1500_.jpg 1500 1500 N 18023 8608 product 19985 M 0 19985
0 41YUbtKtXYL.jpg 500 500 N 18025 8609 product 19987 M 0 19987
0 plain_bag_web_7at3-do.jpg 640 626 N 85134 8601 product 59625 M 0 59625