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