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