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