findMany where first/latest of 1:n relation meets certain condition - Prisma