Fluent query does not finish

I am trying to use Fluent to get data from within a Hummingbird application and the following query over a very small table does not finish, without any error message:

let projects = try await Project.query(on: fluent.db()).all()

What could be the problem? The SQL that is logged does work without any problem when executed directly on the (Postgres) database.

Update: The keys were not UUIDs. But strange that no error was shown...