cursor.execute("SELECT price FROM statistic WHERE `date` = {} AND `time` = {}".format(date,f"{deltime_1.hour}:{deltime_1.minute}"))
f"SELECT price FROM statistic WHERE `date` = '{date}' AND `time` = '{deltime_1.hour}:{deltime_1.minute}'"
"SELECT price FROM statistic WHERE `date` = '{}' AND `time` = '{}:{}'".format(date, deltime_1.hour, deltime_1.minute)