Postgresql earthdistance - earth_box with radius
The problem here is that earth_box gets Statute Miles. 8324.42998846164 meters are near 5.172560986623845 statute miles Unit Converter
The solution: convert the radius into Statute Miles units
earth_box(ll_to_earth(40.689266, -74.044512), 5558/1.609) //doesn't return results
earth_box(ll_to_earth(40.689266, -74.044512), 9000/1.609) //does.