How to force RouterOS to not use more specific routes

I have a bunch of /32 routes fed into RouterOS by an OSPF peer. I also have more “general” routes in my routing table installed by BGP. What are some possible ways to force RouterOS NOT to use /32 routes in a specific case (for example based on src-address-list or some packet mark or something?). Well I need to make sure that if packets come from a specific interface or from a specific src address the /32 routes will not be used for lookup.

Any suggestions appreciated.

BGP allows you to assign an instance to a routing table or to use a VRF. By placing the ‘general’ routes in a specific routing table, you could force lookups via that table instead of the main table (by using either routing marks or routing rules).