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 = 'A' 
  AND q_images_links.object_id IN (
    '1559', '1560', '1561', '1562', '1563', 
    '1564', '1565', '1566', '1567', '1568', 
    '1569', '1570', '1571', '1572', '1573', 
    '1574', '1577', '1578', '1579', '1580', 
    '1581', '1582', '1583', '1584', '1585', 
    '1586', '1587', '1588', '1589', '1590', 
    '1591', '1592'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00175

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "200.01"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "35.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": 35,
            "rows_produced_per_join": 35,
            "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 ('1559','1560','1561','1562','1563','1564','1565','1566','1567','1568','1569','1570','1571','1572','1573','1574','1577','1578','1579','1580','1581','1582','1583','1584','1585','1586','1587','1588','1589','1590','1591','1592')))",
            "cost_info": {
              "read_cost": "74.01",
              "eval_cost": "7.00",
              "prefix_cost": "81.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.detailed_id"
            ],
            "rows_examined_per_scan": 1,
            "rows_produced_per_join": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.00",
              "eval_cost": "7.00",
              "prefix_cost": "123.01",
              "data_read_per_join": "26K"
            },
            "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": 35,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "35.00",
              "eval_cost": "7.00",
              "prefix_cost": "165.01",
              "data_read_per_join": "20K"
            },
            "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 WD19718-pkg.jpg 540 960 N 3654 1590 product 5628 A 1 5628
0 MV15427-pkg.jpg 540 960 N 3656 1591 product 5630 A 1 5630
0 MV15440-pkg.jpg 540 960 N 3658 1586 product 5632 A 1 5632
0 WD19743-PKG.jpg 540 960 N 3660 1580 product 5634 A 1 5634
0 TCSB101__3_.jpg 2592 1728 N 3662 1570 product 5636 A 1 5636
0 TCSB103__2_.JPG 5184 3456 N 3666 1571 product 5640 A 1 5640
0 TCSB1004__2_.JPG 5184 3456 N 3669 1572 product 5643 A 1 5643
0 TCSB1005__2_.JPG 5184 3456 N 3671 1573 product 5645 A 1 5645
0 TCSB1006__2_.JPG 5184 3456 N 3673 1574 product 5647 A 1 5647
0 WD19717-PKG.jpg 540 960 N 3675 1577 product 5649 A 1 5649
0 MV15439-pkg.jpg 540 960 N 3677 1578 product 5651 A 1 5651
0 MV15438-ART2.jpg 371 719 N 3883 1592 product 5857 A 1 5857
0 WD19744-pkg.jpg 540 960 N 4021 1587 product 5995 A 1 5995
0 WD19705-pkg.jpg 540 960 N 4023 1588 product 5997 A 1 5997
0 WD19730-PKG.jpg 540 960 N 4025 1581 product 5999 A 1 5999
0 WD19731-PKG.jpg 540 960 N 4032 1589 product 6006 A 1 6006
0 616SbpKQ9tL.jpg 500 440 N 5043 1562 product 7017 A 1 7017
0 _DSC0304.png 3368 3368 N 17947 1559 product 19909 A 1 19909
0 _DSC0302.png 3280 3789 N 17949 1560 product 19911 A 1 19911
0 _DSC0306.png 3408 4008 N 17951 1561 product 19913 A 1 19913
0 TCSB101__2_.jpg 2592 1728 N 3663 1570 product 5637 A 2 5637
0 TCSB103.JPG 5184 3456 N 3667 1571 product 5641 A 2 5641
0 TCSB101.JPG 5184 3456 N 3664 1570 product 5638 A 3 5638
0 TCSB-005__2_.jpg 2592 1728 N 3599 1569 product 5573 A 10 5573