There is no option to apply filter with Find Nearest and Point In Polygon stage. You can do it through Query Spatial Stage with MI SQL query. For e.g.
Point In Polygon Query:
SELECT Country, Capital, Obj FROM "/Samples/NamedTables/WorldTable" WHERE Obj CONTAINS MI_POINT(${x}, ${y},'epsg:4326') AND Continent = 'Africa'
Find Nearest Query:
SELECT Country, Capital, MI_Distance(MI_POINT(${x}, ${y},'epsg:4326'), Obj, 'mi','Spherical') AS Distance FROM "/Samples/NamedTables/WorldTable" WHERE MI_Distance(MI_POINT(${x}, ${y},'epsg:4326'), Obj, 'mi','Spherical') <= 1000 AND Continent = 'Africa' ORDER BY Distance