Checks ParameterizedQueryExec nodes to see if the conditions for the bulk lookup optimization are met. Sets bulkLookupLeft and bulkLookupRight when they are.