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