SNMP Automation Script in Checkmk Raw Edition 2.1.0p18

I’m just a user of RAW like yourself. No experience with SNMP timeouts myself, so can’t suggest you much.

Searched forum for snmp timeout and found post How to increase SNMP timeout - currently stopping after approx 7 seconds - #6 by martin.schwarz where a blog article for SNMP debugging is linked:
Monitoring with SNMP: Troubleshooting in God Mode | Checkmk
Content of 2020 is a mix a various (old) versions, some are Enterprise specific, so possibly not all is applicable for you.