If I have 400,000 sorted number in database like this

023F460B70F41323DBD1D2B49C
02C433C23F22D4498AFDCB9802
02E2C880757F813D0A0C067439
037502424D9A07383A1E6B73B1
.....
.....
.....
.....
A5183AA10FAC1DCCD581254A4
A6A7646433330474835DBAFE5
A7421081507B6CFAB19356F23

and I want to find this data "9DB831A9207DA9DE9F3E45525" is in database or not.

Do you know how to write program to do that?

Thank you for your answer.