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 (
    '9661', '9662', '9663', '9664', '9665', 
    '9666', '9667', '9668', '9669', '9670', 
    '9671', '9672', '9673', '9674', '9675', 
    '9676'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00124

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 ('9661','9662','9663','9664','9665','9666','9667','9668','9669','9670','9671','9672','9673','9674','9675','9676')))",
            "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 Moshi_Versa_Cover_For_iPad_Pro_10.5_-_Metro_Black_1.jpg 500 500 N 20485 9661 product 22447 M 0 22447
0 MSHI-H-056007.jpg 1500 1500 N 20486 9662 product 22448 M 0 22448
0 MSHI-H-056008.jpg 1500 1500 N 20487 9663 product 22449 M 0 22449
0 Moshi_Versa_Cover_For_iPad_2017_-_Velvet_Gray_2.jpg 817 768 N 20488 9664 product 22450 M 0 22450
0 Moshi_Versacover_For_iPad_Pro_10.5_-_Sakura_Pink_3.jpg 500 500 N 20489 9665 product 22451 M 0 22451
0 Moshi_Vesakeyboard_For_iPad_Pro_10.5_2.jpg 225 225 N 20490 9666 product 22452 M 0 22452
0 MSHI-H-071005.jpg 4000 4000 N 20491 9667 product 22453 M 0 22453
0 MSHI-H-071007.jpg 1500 1500 N 20493 9669 product 22455 M 0 22455
0 Moshi_Macbook_Pro_13_iGlaze_1.jpg 1500 1500 N 20494 9670 product 22456 M 0 22456
0 Moshi_iGlaze_Macbook_12_Ultra-Slim_Hardshell_Case_-_Clear_1.jpg 800 800 N 20495 9671 product 22457 M 0 22457
0 MSHI-H-071907.jpg 355 355 N 20496 9672 product 22458 M 0 22458
0 MSHI-H-071907_fbd5ea58-ad0e-48f2-bac8-1f04475a8af5.jpg 355 355 N 20497 9673 product 22459 M 0 22459
0 MSHI-H-071909.jpg 1500 1500 N 20498 9674 product 22460 M 0 22460
0 Sensecover_ipx_black_01_Front.jpg 4000 4000 N 20499 9675 product 22461 M 0 22461
0 Sensecover_ipx_pink_01_Front_-_Copy.jpg 4000 4000 N 20500 9676 product 22462 M 0 22462
0 0_bzwm-i9.jpg 450 450 N 26338 9668 product 28300 M 0 28300