'Binary datatype'/ binary object/ BLOB is opaque to the database, by definition. If you use this type it's up to the application to process it.
If you want the database to process/index/query your data, pick a datatype it understands. For SQL Server, BIGINT is 8 bytes (64 bits) and NUMERIC can go to 38 digits (~ 126 bits). In MySQL, DECIMAL/NUMERIC can go to 64 or 65 digits (~ 212 bits).
And if you do actually have a real requirement here, you can "factor out" the actual significant segments into their own columns & query on those.
In the most blunt & uninformed workaround case, that could be dividing your 256-bit chunk into 2 or 4 words; but if you have any kind of real requirement, you should be able to identify more specific sections which are of business interest.
BETWEENdo what you want? (ref: tutorialspoint.com/mysql/mysql-between-clause.htm)betweenthat works for binary types.