When connected to a Raspberry Pi 3.3V should be fine. As the Pi uses 3V logic.
And as far as I know, using 5V instead of 3V will not hurt the MLX90640.
I have no idea if that affects the logic level it uses though? I think not, but I’m not 100% sure.
Does the Diolan use 3V or 5V logic?