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