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 = 'A' 
  AND q_images_links.object_id IN (
    '9019', '9020', '9021', '9022', '9023', 
    '9024', '9035', '9036', '9037', '9038', 
    '9039', '9040', '9041', '9042', '9043', 
    '9044', '9045', '9061', '9062', '9063', 
    '9064', '9065', '9066', '9067', '9068', 
    '9069', '9070', '9086', '9088', '9124', 
    '9125', '9126'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00168

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "224.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "40.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": 40,
            "rows_produced_per_join": 40,
            "filtered": "100.00",
            "index_condition": "((`portal`.`q_images_links`.`object_type` = 'product') and (`portal`.`q_images_links`.`type` = 'A') and (`portal`.`q_images_links`.`object_id` in ('9019','9020','9021','9022','9023','9024','9035','9036','9037','9038','9039','9040','9041','9042','9043','9044','9045','9061','9062','9063','9064','9065','9066','9067','9068','9069','9070','9086','9088','9124','9125','9126')))",
            "cost_info": {
              "read_cost": "80.01",
              "eval_cost": "8.00",
              "prefix_cost": "88.01",
              "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.image_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 40,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "40.00",
              "eval_cost": "8.00",
              "prefix_cost": "136.01",
              "data_read_per_join": "30K"
            },
            "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": 40,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "40.00",
              "eval_cost": "8.00",
              "prefix_cost": "184.01",
              "data_read_per_join": "23K"
            },
            "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 21199 9125 product 23161 A 0
0 80483 9086 product 82426 A 0
0 80770 9035 product 82713 A 0
0 80772 9035 product 82715 A 0
0 80774 9035 product 82717 A 0
0 80812 9063 product 82755 A 0
0 80813 9063 product 82756 A 0
0 80814 9064 product 82757 A 0
0 19864 9041 product 21826 A 1
0 19868 9045 product 21830 A 1
0 19885 9062 product 21847 A 1
0 19889 9066 product 21851 A 1
0 19892 9069 product 21854 A 1
0 21146 9024 product 23108 A 1
0 80749 9020 product 82692 A 1
0 80751 9022 product 82694 A 1
0 80817 9068 product 82760 A 1
0 80818 9070 product 82761 A 1
0 80830 9088 product 82773 A 1
0 21158 9069 product 23120 A 2
0 80746 9019 product 82689 A 2
0 80750 9020 product 82693 A 2
0 80752 9022 product 82695 A 2
0 80753 9024 product 82696 A 2
0 80771 9035 product 82714 A 2
0 80773 9035 product 82716 A 2
0 80775 9035 product 82718 A 2
0 80809 9062 product 82752 A 2
0 80819 9070 product 82762 A 2
0 80831 9088 product 82774 A 2
0 80863 9124 product 82806 A 2
0 80869 9125 product 82812 A 2
0 80747 9019 product 82690 A 3
0 81466 9062 product 83409 A 3