I have had to think about the same issue. The best idea I got was to use a Docker image. The database can be created and maintained external to the Docker VM.
is it possible to encrypt/secure it somehow from being pried open?
My application uses a secure HTTPS connection and does the decryption on its own. What this means is that the executable is useless to anybody else but that one enterprise customer.
Mind you that I am literally handing over the engine wrapped in plastic.
Last thing I want is customer becoming a competitor.
Do not underestimate the value of your expertise. Even if they had the source code, the chances of a paying customer becoming a competitor is low. Again, I suppose it depends on the application.