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 (
    '442', '443', '444', '445', '446', '447', 
    '448', '449', '310', '311', '312', 
    '313', '314', '315', '316', '317', 
    '318', '319', '320', '321', '322', 
    '323', '324', '325', '326', '327', 
    '328', '329', '330', '331'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00154

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "294.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "55.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": 55,
            "rows_produced_per_join": 55,
            "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 ('442','443','444','445','446','447','448','449','310','311','312','313','314','315','316','317','318','319','320','321','322','323','324','325','326','327','328','329','330','331')))",
            "cost_info": {
              "read_cost": "96.01",
              "eval_cost": "11.00",
              "prefix_cost": "107.01",
              "data_read_per_join": "5K"
            },
            "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": 55,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "55.00",
              "eval_cost": "11.00",
              "prefix_cost": "173.01",
              "data_read_per_join": "42K"
            },
            "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": 55,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "55.00",
              "eval_cost": "11.00",
              "prefix_cost": "239.01",
              "data_read_per_join": "32K"
            },
            "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 672 325 product 2649 A 1
0 673 325 product 2650 A 2
0 643 310 product 2620 A 10
0 645 311 product 2622 A 10
0 647 312 product 2624 A 10
0 649 313 product 2626 A 10
0 651 314 product 2628 A 10
0 653 315 product 2630 A 10
0 655 316 product 2632 A 10
0 657 317 product 2634 A 10
0 659 318 product 2636 A 10
0 661 319 product 2638 A 10
0 663 320 product 2640 A 10
0 665 321 product 2642 A 10
0 667 322 product 2644 A 10
0 669 323 product 2646 A 10
0 671 324 product 2648 A 10
0 675 326 product 2652 A 10
0 677 327 product 2654 A 10
0 679 328 product 2656 A 10
0 682 330 product 2659 A 10
0 684 331 product 2661 A 10
0 900 442 product 2877 A 10
0 902 443 product 2879 A 10
0 904 444 product 2881 A 10
0 906 445 product 2883 A 10
0 908 446 product 2885 A 10
0 910 447 product 2887 A 10
0 912 448 product 2889 A 10
0 914 449 product 2891 A 10
0 924 442 product 2901 A 10
0 925 443 product 2902 A 10
0 926 444 product 2903 A 10
0 927 445 product 2904 A 10
0 928 446 product 2905 A 10
0 929 447 product 2906 A 10
0 930 448 product 2907 A 10
0 931 449 product 2908 A 10