SQL query taking too much time to run

Yes, switch to the beta branch at least, let me know what happens