For every hash in array #1, I want to pull all the hashes that match certain parameters from array #2 and perform some logic.
Example of hash in array #1