Reading 300GB from an SSD is going to be way too slow. It will take minutes per search. In a simple test on linode, the SSD seems to read at about 1GB/s.
300GB of ram might cost $3000/month on AWS. There are a few dedicated server providers that offer 384GB or even 512GB configs for less than 1000$/month.
With that price, you can keep most of the data in memory-ssd and don't care to use fancy-algorithm.
But what if the pricing was 10x lower ?