How to create a page template that retrieves content from db?

You might want to consider creating a Custom Post Type for this product (I assume it’s some sort of product), and then adding custom metaboxes, that will store the custom data (specs, features, etc.) as metadata for each Post.

Then, your custom template file becomes “single-.php” (e.g. “single-product.php”), and you can structure the markup however you need.

Storing the custom data (specs, features, etc.) as post metadata allows you to retrieve these data using get_post_meta() (Codex ref) or get_post_custom() (Codex ref).