Impl lookup predicate with several possible primary keys