These settings have worked very well for me so far, but if you are aware of even better settings, I'd certain like to give it a try.
https://github.com/aomediacodec/libavif
avifenc supports args like enable-chroma-deltaq. I've used those but recently stopped, and nothing substantial changed.