Myslím, že je problém s uvozovkami v dotazu:Zkuste níže:
SELECT
COUNT(CASE WHEN booking_creationdate LIKE '2020-01-31%' THEN 1 END) AS "2020-01-31",
COUNT(CASE WHEN booking_creationdate LIKE '2020-02-05%' THEN 1 END) AS "2020-02-05"
FROM bookingstable AND booking_location = 4