There is a layer time on the max fan speed threshold field. If the calculated layer time is lower than this value then the print will slow down if the “Slow down for better layer cooling” box is checked. Defaults to 4 seconds, but you could raise it.
https://wiki.bambulab.com/en/software/bambu-studio/auto-cooling