Python Find Multiple Substrings In Sql