Optimize in a Constructor - Prisma