I have some SQL query, but it loads server very strongly because of there can be hundreds of users served by this query:
SELECT *
FROM questions
WHERE date > '$day'
AND answer!=''
AND tos IN
(
SELECT tos
FROM subscribers
WHERE froms='$myid'
)
ORDER BY date DESC LIMIT $start, $limit
Start & limit are for pagination there (increasing 10 by 10).