The last time I checked, MySQL still can’t do foreign keys with binary blobs. (I think it works with some very specific limitations but not enough to actually use in the real world.)
Out of curiosity, is there a scenario you can share in which using a binary blob as a PK/FK would be the best solution?