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.image_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 (
    '2734', '2735', '2694', '2695', '2696', 
    '2697', '2698', '2699', '2700', '2701', 
    '2675', '2676', '2677', '2678', '2679', 
    '2680', '2681', '2682', '2683', '2684', 
    '2685', '2686', '2687', '2688', '2689', 
    '2607', '2608', '2609', '2610', '2611'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00156

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "174.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "30.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": 30,
            "rows_produced_per_join": 30,
            "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 ('2734','2735','2694','2695','2696','2697','2698','2699','2700','2701','2675','2676','2677','2678','2679','2680','2681','2682','2683','2684','2685','2686','2687','2688','2689','2607','2608','2609','2610','2611')))",
            "cost_info": {
              "read_cost": "66.01",
              "eval_cost": "6.00",
              "prefix_cost": "72.01",
              "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.image_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 30,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "30.00",
              "eval_cost": "6.00",
              "prefix_cost": "108.01",
              "data_read_per_join": "22K"
            },
            "used_columns": [
              "image_id",
              "image_path",
              "image_x",
              "image_y",
              "is_high_res"
            ]
          }
        },
        {
          "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": 30,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "30.00",
              "eval_cost": "6.00",
              "prefix_cost": "144.01",
              "data_read_per_join": "17K"
            },
            "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 5923 2607 product 7894 M 0
0 5924 2608 product 7895 M 0
0 5925 2609 product 7896 M 0
0 5926 2610 product 7897 M 0
0 5927 2611 product 7898 M 0
0 6011 2675 product 7982 M 0
0 6013 2676 product 7984 M 0
0 6014 2677 product 7985 M 0
0 6016 2678 product 7987 M 0
0 6017 2679 product 7988 M 0
0 6018 2680 product 7989 M 0
0 6020 2681 product 7991 M 0
0 6021 2682 product 7992 M 0
0 6022 2683 product 7993 M 0
0 6023 2684 product 7994 M 0
0 6024 2685 product 7995 M 0
0 6025 2686 product 7996 M 0
0 6026 2687 product 7997 M 0
0 6027 2688 product 7998 M 0
0 6028 2689 product 7999 M 0
0 6041 2694 product 8012 M 0
0 6043 2695 product 8014 M 0
0 6044 2696 product 8015 M 0
0 6046 2698 product 8017 M 0
0 6047 2699 product 8018 M 0
0 6049 2701 product 8020 M 0
0 6077 2734 product 8048 M 0
0 6078 2735 product 8049 M 0
0 81603 2697 product 83546 M 1
0 81604 2700 product 83547 M 1