Simple query builder based on PDO