SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}Winterspelt{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}' OR prCity = 'Winterspelt' OR prZip = 'Winterspelt' OR prStreet LIKE '{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}Winterspelt{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}' OR prCountry = 'Winterspelt') AND (prLocation LIKE '{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}Germany{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}Germany{641a991cd05ee548a1006dc8e9c751332d03ae68055e17237c158f0346ed17cd}' OR prCountry = 'Germany')