SELECT sum(money) FROM `accounts` WHERE date >= CURDATE() AND tel_id = 1234 AND type = 1 AND status = 1
SELECT id, sum(money)
FROM `accounts`
WHERE date >= CURDATE() AND type = 1 AND status = 1
GROUP BY id
SELECT sum(money) FROM `accounts` WHERE date >= CURDATE() AND tel_id IN (1234, 1888, 1666) AND type = 1 AND status = 1