Database error # 1064

Database error description: 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 active = 1' at line 1

SQL query string: SELECT * FROM models WHERE model_id = AND active = 1

Invalid Model