[web] remove old raw SQL queries
Summary:
Now we are using .wasm database module with logic from native
Depends on D8560
Test Plan: Flow
Reviewers: michal, tomek
Reviewed By: michal
Subscribers: ashoat
Differential Revision: https://phab.comm.dev/D8561