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