Finally, seems like a viable solution both in terms of balance between blast and mysql
A faster bbh search implemented