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 (
    '32484', '32485', '32486', '32487', 
    '32488', '32489', '32490', '32491', 
    '32492', '32493', '32494', '32495', 
    '32496', '32497', '32499', '32500', 
    '32501', '32502', '32503', '32504', 
    '32505', '32506', '32507', '32508', 
    '32509', '32510', '32511', '32512', 
    '32513', '32514', '32515', '32516'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00268

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 ('32484','32485','32486','32487','32488','32489','32490','32491','32492','32493','32494','32495','32496','32497','32499','32500','32501','32502','32503','32504','32505','32506','32507','32508','32509','32510','32511','32512','32513','32514','32515','32516')))",
            "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 12547L-2P-1-1.jpg 5576 4000 N 42456 32484 product 44418 M 0 44418
0 12547L-3-1.jpg 3916 4000 N 42461 32485 product 44423 M 0 44423
0 12547L-3P-1-1.jpg 5666 4000 N 42466 32486 product 44428 M 0 44428
0 12547M-1-1.jpg 4136 4000 N 42471 32487 product 44433 M 0 44433
0 12547M-2-1.jpg 3908 4000 N 42477 32488 product 44439 M 0 44439
0 12547M-3-1.jpg 4471 4000 N 42481 32489 product 44443 M 0 44443
0 12555M-1-1.jpg 4976 4000 N 42486 32490 product 44448 M 0 44448
0 12555M-2-1.jpg 4527 4000 N 42490 32491 product 44452 M 0 44452
0 12555M-3-1.jpg 4159 4000 N 42494 32492 product 44456 M 0 44456
0 12555M-4-1.jpg 4283 4000 N 42498 32493 product 44460 M 0 44460
0 12555M-5-1.jpg 4676 4000 N 42503 32494 product 44465 M 0 44465
0 12566L-2-1.jpg 3808 4000 N 42507 32495 product 44469 M 0 44469
0 12566L-2P-1.jpg 6000 4000 N 42511 32496 product 44473 M 0 44473
0 12566L-3-1.jpg 3489 4000 N 42517 32497 product 44479 M 0 44479
0 12566L-4-1.jpg 3731 4000 N 42526 32499 product 44488 M 0 44488
0 12566L-5-1.jpg 4422 4000 N 42530 32500 product 44492 M 0 44492
0 12566L-5P-1-1.jpg 6000 4000 N 42534 32501 product 44496 M 0 44496
0 12566L-6-1.jpg 3342 4000 N 42540 32502 product 44502 M 0 44502
0 12566L-6P-1-1.jpg 6000 4000 N 42543 32503 product 44505 M 0 44505
0 12566L-7-1.jpg 3802 4000 N 42547 32504 product 44509 M 0 44509
0 12566L-7P-1-1.jpg 5767 3668 N 42550 32505 product 44512 M 0 44512
0 12566L-8-1.jpg 3971 4000 N 42554 32506 product 44516 M 0 44516
0 12566L-8P-1.jpg 5750 3666 N 42558 32507 product 44520 M 0 44520
0 12566M-1-1.jpg 3851 4000 N 42562 32508 product 44524 M 0 44524
0 12566M-2-1.jpg 3905 4000 N 42565 32509 product 44527 M 0 44527
0 12566M-3-1.jpg 4379 4000 N 42570 32510 product 44532 M 0 44532
0 12566M-4-1.jpg 4537 4000 N 42576 32511 product 44538 M 0 44538
0 12566M-4P-1-1.jpg 6000 4000 N 42581 32512 product 44543 M 0 44543
0 12566M-5-1.jpg 4080 4000 N 42585 32513 product 44547 M 0 44547
0 12566M-6-1.jpg 4007 4000 N 42590 32514 product 44552 M 0 44552
0 12566M-7-1.jpg 3926 4000 N 42596 32515 product 44558 M 0 44558
0 12566M-8-1.jpg 3625 4000 N 42600 32516 product 44562 M 0 44562