MariaDB [production]> select opencount.day, opencount.opened, closecount.closed from
-> (select date(timestamp) day, count(*) opened from log where action = 'Email Confirmed' and timestamp > '2016-12-31 23:59:59' group by date(timestamp)) opencount
-> inner join
-> (select count(*) closed, date(timestamp) day from log where action like 'Closed %' and timestamp > '2016-12-31 23:59:59' group by date(timestamp)) closecount