Combine searchRecord and distanceBetween

Combine searchRecord and distanceBetween

Hello!
I need your help.
Is there a way to combine searchRecord with distanceBetween?
I want to have all records that have a certain distance between an address from the record to another address.

How can I manage that task?