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 (
    '1505', '1506', '1507', '1508', '1509', 
    '1510', '1511', '1512', '1513', '1514', 
    '1515', '1516', '1517', '1518'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00106

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "81.21"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "14.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": 14,
            "rows_produced_per_join": 14,
            "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 ('1505','1506','1507','1508','1509','1510','1511','1512','1513','1514','1515','1516','1517','1518')))",
            "cost_info": {
              "read_cost": "30.81",
              "eval_cost": "2.80",
              "prefix_cost": "33.61",
              "data_read_per_join": "1K"
            },
            "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": 14,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "14.00",
              "eval_cost": "2.80",
              "prefix_cost": "50.41",
              "data_read_per_join": "10K"
            },
            "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": 14,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "14.00",
              "eval_cost": "2.80",
              "prefix_cost": "67.21",
              "data_read_per_join": "8K"
            },
            "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 SG-003.jpg 1968 1728 N 3545 1505 product 5519 M 0 5519
0 SG-004.jpg 1880 1598 N 3547 1506 product 5521 M 0 5521
0 SG-005.jpg 1855 1482 N 3549 1507 product 5523 M 0 5523
0 SG-006.jpg 2020 1624 N 3551 1508 product 5525 M 0 5525
0 CC432004__3_.jpg 2008 1434 N 3554 1509 product 5528 M 0 5528
0 CSEU290005.jpg 1717 1518 N 3555 1510 product 5529 M 0 5529
0 CSEU290064.jpg 1685 1481 N 3557 1511 product 5531 M 0 5531
0 CSEU290068.jpg 1597 1315 N 3559 1512 product 5533 M 0 5533
0 CSEU290071.jpg 1798 1535 N 3561 1513 product 5535 M 0 5535
0 CSEU290073.jpg 1904 1546 N 3563 1514 product 5537 M 0 5537
0 CSEU290076.jpg 1709 1682 N 3565 1515 product 5539 M 0 5539
0 SMBBU13-33.jpg 1499 1351 N 3567 1516 product 5541 M 0 5541
0 CC432003.jpg 1688 1526 N 3569 1517 product 5543 M 0 5543
0 CC432005.jpg 1655 1421 N 3571 1518 product 5545 M 0 5545