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