Suppose I have a file input.txt with few columns and few rows, the first column is the key, and a directory dir with files which contain some of these
input.txt
dir
Try following
awk '{print $1}' input.txt | xargs -n 1 -I pattern grep -rn pattern dir