search for the word "mysql" in all the files in the current containing the word "notes" in their name. print0 is used to handle files  with newlines in their names or those which have only spaces in their names
find . -iname "*notes*" -print0 | xargs -I{} -0 grep -i mysql "{}"