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 (
    '37357', '37358', '37359', '37360', 
    '37361', '37362', '37363', '37364', 
    '37366', '37367', '37368', '37369', 
    '37370', '37371', '37372', '37373'
  ) 
ORDER BY 
  q_images_links.position, 
  q_images_links.pair_id

Query time 0.00114

JSON explain

{
  "query_block": {
    "select_id": 1,
    "cost_info": {
      "query_cost": "145.61"
    },
    "ordering_operation": {
      "using_filesort": true,
      "cost_info": {
        "sort_cost": "27.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": 27,
            "rows_produced_per_join": 27,
            "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 ('37357','37358','37359','37360','37361','37362','37363','37364','37366','37367','37368','37369','37370','37371','37372','37373')))",
            "cost_info": {
              "read_cost": "48.41",
              "eval_cost": "5.40",
              "prefix_cost": "53.81",
              "data_read_per_join": "2K"
            },
            "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": 27,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "27.00",
              "eval_cost": "5.40",
              "prefix_cost": "86.21",
              "data_read_per_join": "20K"
            },
            "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": 27,
            "filtered": "100.00",
            "cost_info": {
              "read_cost": "27.00",
              "eval_cost": "5.40",
              "prefix_cost": "118.61",
              "data_read_per_join": "16K"
            },
            "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 N27423923A_1.jpg 800 1091 N 58544 37358 product 60500 M 0 60500
0 shape.jpg 500 500 N 59186 37357 product 61142 M 0 61142
0 41peWJ22QvL.jpg 451 500 N 62096 37373 product 64052 M 0 64052
0 71a7RLoJd_L._SL1500_.jpg 1500 1500 N 62099 37372 product 64055 M 0 64055
0 41424PlB-SL.jpg 386 500 N 62100 37371 product 64056 M 0 64056
0 61yXVdwFB3L._SL1200_.jpg 1200 1200 N 62103 37370 product 64059 M 0 64059
0 81g6V2DxB8L._SL1500_.jpg 1500 1500 N 62105 37362 product 64061 M 0 64061
0 91XUFLDUdzL._SL1500_.jpg 1005 1500 N 62106 37361 product 64062 M 0 64062
0 61KFAvDwPpL._SL1000_.jpg 1000 1000 N 62108 37359 product 64064 M 0 64064
0 375x500.20508.jpg 375 500 N 62322 37363 product 64278 M 0 64278
0 496-3003326-TRL13_ALT10.jpg 308 400 N 62323 37364 product 64279 M 0 64279
0 the-royal-black-stone-edp-100-ml.jpg 800 800 N 62324 37366 product 64280 M 0 64280
0 f7596b9548214aa767bbc0e730d43fc5.png 280 280 N 62325 37367 product 64281 M 0 64281
0 375x500.30997.jpg 375 500 N 62328 37369 product 64284 M 0 64284
0 0f258a49748c4b848e391255568d0139.png 280 280 N 62999 37360 product 64955 M 0 64955