What exactly does your "query engine"/planner actually do? I understand the role that, for example, the Postgres query planner does.
Is the idea that Prisma might be backing on to multiple databases and therefore needs another planning layer? If so, wouldn't this need to be very specific to the database and schema – knowing that particular fields in one database refer to entities in another? Does Prisma tackle this? How?