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 (
    '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.00140

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "212.41"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "38.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": 38,
            "rows_produced_per_join": 38,
            "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 ('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": "75.61",
              "eval_cost": "7.60",
              "prefix_cost": "83.21",
              "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": 38,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "38.00",
              "eval_cost": "7.60",
              "prefix_cost": "128.81",
              "data_read_per_join": "29K"
            },
            "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": 38,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "38.00",
              "eval_cost": "7.60",
              "prefix_cost": "174.41",
              "data_read_per_join": "22K"
            },
            "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 642 310 product 2619 M 0
0 644 311 product 2621 M 0
0 646 312 product 2623 M 0
0 648 313 product 2625 M 0
0 650 314 product 2627 M 0
0 652 315 product 2629 M 0
0 654 316 product 2631 M 0
0 656 317 product 2633 M 0
0 658 318 product 2635 M 0
0 660 319 product 2637 M 0
0 662 320 product 2639 M 0
0 664 321 product 2641 M 0
0 666 322 product 2643 M 0
0 668 323 product 2645 M 0
0 670 324 product 2647 M 0
0 674 326 product 2651 M 0
0 676 327 product 2653 M 0
0 678 328 product 2655 M 0
0 680 329 product 2657 M 0
0 681 330 product 2658 M 0
0 683 331 product 2660 M 0
0 899 442 product 2876 M 0
0 901 443 product 2878 M 0
0 903 444 product 2880 M 0
0 905 445 product 2882 M 0
0 907 446 product 2884 M 0
0 909 447 product 2886 M 0
0 911 448 product 2888 M 0
0 913 449 product 2890 M 0
0 68816 325 product 70767 M 0