Python Find Multiple Instances Of Substring Mysql