SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}Freigericht{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}' OR prCity = 'Freigericht' OR prZip = 'Freigericht' OR prStreet LIKE '{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}Freigericht{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}' OR prCountry = 'Freigericht') AND (prLocation LIKE '{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}Germany{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}Germany{0992fc30e6634a311791fb395d18955ac91e75504f8c101225340c56c55a7b6f}' OR prCountry = 'Germany')