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 (
    '9533', '9534', '9535', '9536', '9537', 
    '9538', '9539', '9540', '9541', '9542', 
    '9543', '9544', '9545', '9546', '9547', 
    '9548'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00122

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "92.81"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "16.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": 16,
            "rows_produced_per_join": 16,
            "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 ('9533','9534','9535','9536','9537','9538','9539','9540','9541','9542','9543','9544','9545','9546','9547','9548')))",
            "cost_info": {
              "read_cost": "35.21",
              "eval_cost": "3.20",
              "prefix_cost": "38.41",
              "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "57.61",
              "data_read_per_join": "12K"
            },
            "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": 16,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "16.00",
              "eval_cost": "3.20",
              "prefix_cost": "76.81",
              "data_read_per_join": "9K"
            },
            "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 ICP-IPH1644-CLR.jpg 560 560 N 20357 9533 product 22319 M 0 22319
0 ICP-IPH1645-FNV.jpg 1200 1200 N 20358 9534 product 22320 M 0 22320
0 ICP-IPH1645-FSM_1.jpg 650 650 N 20359 9535 product 22321 M 0 22321
0 ICP-IPH1648-SMK_3.jpg 598 1500 N 20360 9536 product 22322 M 0 22322
0 ICP-PW176.jpg 560 560 N 20364 9540 product 22326 M 0 22326
0 ICP-PW215_2.jpg 560 560 N 20365 9541 product 22327 M 0 22327
0 ICP-PW249-BLK_2.jpg 1500 1500 N 20366 9542 product 22328 M 0 22328
0 ICP-SA854-CLR_3.jpg 1500 1500 N 20367 9543 product 22329 M 0 22329
0 ICP-SA856-BLK.jpg 804 1500 N 20368 9544 product 22330 M 0 22330
0 KD-FR-140.jpg 1500 1500 N 20369 9545 product 22331 M 0 22331
0 KD-LI-B67B8.jpg 355 355 N 20370 9546 product 22332 M 0 22332
0 KD-LI-B67DV.jpg 1500 1500 N 20371 9547 product 22333 M 0 22333
0 KD-LI-B67T8.jpg 960 960 N 20372 9548 product 22334 M 0 22334
0 36298_incipio-feather-case-tynyk-polikarbonatov-keis-za-iphone-xr-prozrachen_4025032364.jpg 2100 2100 N 25888 9537 product 27850 M 0 27850
0 iphone-xs-octane-pure-black-angle-4.jpg 560 560 N 25890 9538 product 27852 M 0 27852
0 s-l300.png 300 300 N 25920 9539 product 27882 M 3 27882