You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Sign%20up%20for%20a%20PRIME%20plan%20to%20view%20symbols%20for%20Fri,%20May%207,' at line 3
SELECT * FROM `pages` WHERE `status` = 'active' AND `page` = 'javascript:alert('Sign%20up%20for%20a%20PRIME%20plan%20to%20view%20symbols%20for%20Fri,%20May%207,%202021.')'