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 = 'M' 
  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.00192

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "185.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "32.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": 32,
            "rows_produced_per_join": 32,
            "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 ('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": "70.41",
              "eval_cost": "6.40",
              "prefix_cost": "76.81",
              "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": 32,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "32.00",
              "eval_cost": "6.40",
              "prefix_cost": "115.21",
              "data_read_per_join": "24K"
            },
            "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": 32,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "32.00",
              "eval_cost": "6.40",
              "prefix_cost": "153.61",
              "data_read_per_join": "19K"
            },
            "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 TCSB-002.jpg 1626 1728 N 3597 1568 product 5571 M 0 5571
0 TCSB-005.jpg 2592 1728 N 3598 1569 product 5572 M 0 5572
0 WD19718-art.jpg 540 960 N 3653 1590 product 5627 M 0 5627
0 MV15427-art.jpg 540 960 N 3655 1591 product 5629 M 0 5629
0 MV15440-art.jpg 540 960 N 3657 1586 product 5631 M 0 5631
0 WD19743-ART.jpg 540 960 N 3659 1580 product 5633 M 0 5633
0 TCSB103__3_.JPG 5184 3456 N 3665 1571 product 5639 M 0 5639
0 TCSB1004.JPG 5184 3456 N 3668 1572 product 5642 M 0 5642
0 TCSB1005.JPG 5184 3456 N 3670 1573 product 5644 M 0 5644
0 TCSB1006.JPG 5184 3456 N 3672 1574 product 5646 M 0 5646
0 WD19717-ART.jpg 540 960 N 3674 1577 product 5648 M 0 5648
0 MV15439-ART.jpg 540 960 N 3676 1578 product 5650 M 0 5650
0 WD19704-ART.jpg 540 960 N 3678 1579 product 5652 M 0 5652
0 MV15438-ART.jpg 371 719 N 3882 1592 product 5856 M 0 5856
0 WD19744-art.jpg 540 960 N 4020 1587 product 5994 M 0 5994
0 WD19705-art.jpg 540 960 N 4022 1588 product 5996 M 0 5996
0 WD19730-ART.jpg 540 960 N 4024 1581 product 5998 M 0 5998
0 WD19731-ART.jpg 540 960 N 4031 1589 product 6005 M 0 6005
0 510kYDptGLL.jpg 482 500 N 5049 1563 product 7023 M 0 7023
0 51OgAh3szwL.jpg 500 438 N 5052 1564 product 7026 M 0 7026
0 51NSdKyL-eL.jpg 500 375 N 5086 1565 product 7060 M 0 7060
0 51Q818aIRSL._AC_UL246_SR190,246_.jpg 190 246 N 5087 1566 product 7061 M 0 7061
0 _DSC0303.png 3560 3624 N 17946 1559 product 19908 M 0 C 19908
0 _DSC0301.png 3594 3678 N 17948 1560 product 19910 M 0 19910
0 _DSC0305.png 3568 3408 N 17950 1561 product 19912 M 0 19912
0 MV15237.png 3368 6000 N 18256 1582 product 20218 M 0 20218
0 _MG_2130.png 3368 6000 N 18257 1584 product 20219 M 0 20219
0 _MG_2121.png 3368 6000 N 18258 1583 product 20220 M 0 20220
0 _MG_2110.png 3368 6000 N 18259 1585 product 20221 M 0 20221
0 Ociostock_-_spiderman_draw_string_bag-800x800.jpg 800 800 N 18719 1567 product 20681 M 0 20681
0 2_89bw-gz.jpg 640 626 N 81824 1570 product 83767 M 0 83767
0 2_qxl9-h5.jpg 640 626 N 81998 1562 product 83941 M 0 83941