SELECT * FROM ip_properties WHERE prActive = 1 AND (prLocation LIKE '{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}Bärenthal{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}' OR prCity = 'Bärenthal' OR prZip = 'Bärenthal' OR prStreet LIKE '{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}Bärenthal{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}' OR prCountry = 'Bärenthal') AND (prLocation LIKE '{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}Germany{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}' OR prCity = 'Germany' OR prZip = 'Germany' OR prStreet LIKE '{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}Germany{c45e25f8cdfb43a77f03bf2f0c6a338891cfe797d1b8b9ba28c5e26851b6bee8}' OR prCountry = 'Germany')