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