essaie comme ça :
SELECT * FROM POSTS as Post WHERE id=1 AND test='test'