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 'AND `status` = 'active' ORDER BY market_capitalization' at line 1
SELECT * FROM `symbols` AND `status` = 'active' ORDER BY market_capitalization desc LIMIT 5 OFFSET 0