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%20PREMIUM%20plan%20to%20view%20symbols%20for%20Tue,%20Apr%20' at line 3
SELECT * FROM `pages` WHERE `status` = 'active' AND `page` = 'javascript:alert('Sign%20up%20for%20a%20PREMIUM%20plan%20to%20view%20symbols%20for%20Tue,%20Apr%2020,%202021.')'