When Postgres index meets Bcrypt