The fact that 75 percent of Poles reject Muslim immigration means that the ban is likely to be permanent, regardless of which party reaches power.
From The Washington Times: Daniel Pipes, president of the Middle East Forum, writes:
On being designated prime minister of Poland last December, Mateusz Morawiecki made the extraordinary statement that he and his government want to “transform [the European Union], to re-Christianize it.”
Struck by this grand vision of Poland’s destiny, and particularly interested in the near-total ban on Muslim migrants (Mr. Morawiecki again: “we will not accept migrants from the Middle East and North Africa in Poland“), I just spent a week in Warsaw to understand why that country differs so sharply from Western Europe and what this implies.
Basically, according to Pipes, despite Poles’ historic good relations with Muslims, “a steady diet of news from Western Europe of jihadi violence, taharrush, ‘grooming’ gangs, honor killings, female genital mutilation, criminal activity, welfare fraud, and cultural aggression” has been too much for Poles to stomach.
“The Merkel Tsunami of 2015-16, with its million-plus Muslims walking through Europe, frightened Poles. Accordingly, some 75 percent of them reject Muslim immigration.” Therefore, regardless of which party reaches power, the ban will stay.