Select only post id and meta value with WP_Query

You will need to create your own MySQL query to achieve this. You may use PHP builtin functions or WPDB which is a MySQL wrapped used by WordPress:

https://codex.wordpress.org/Class_Reference/wpdb

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)