15kHz monitors are easy to make recommendations for. Most old arcade games are 15kHz/240p. I'm not 100% on how much benefit there is to using GroovyMAME over normal MAME (this is the GM subforum, also used for CRT_emudriver) for a 31kHz+ monitor like yours.
As a starting point, I would go through the mame.ini file in your GroovyMAME directory and read each line. You might want to disable all the stretching options, and enable ones that allow integer scaling. That way you get full multiples so, 240p becomes 480p or 720p, etc. the image will look cleaner.
The problem arises with games that use more unusual resolution and aspect ratios. CPS1/2 games are essential, and those run at 384x224p. You can install modes to cover those, but you will probably need go through the modeline files that come with crt_emudriver and work things out. If you have not installed crt_emudriver, and don't really know anything about it, you might try reading this guide -
https://www.aussiearcade.com/topic/76809-a-guide-to-connecting-your-windows-pc-to-an-sd-crt-tv-pvm-or-arcade-monitor/That doesn't really cover 480p tho, so you will want to google how to use switchres on a 31kHz monitor -
https://lmgtfy.app/?q=best+way+to+use+a+31kHz+monitor+with+switchresThat isn't a complete answer either, some people love using 240p/120Hz modes, some find the motion is off. Some people love shaders and scanline filters (regular MAME will have some of these), so hate the way they make the picture dimmer.
You'll likely have to do some reading, and experiment to see what you like best.