SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '06f5294ed2abb1e8a59a7eac1004a7f7f8915df693d5ceb5bc4b1f4e21d55387' 
  AND token = 'CCExZ6YM5ir3Sx8JQ0or52pgkn56EWxt9LL0k9oCu8c=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00011

Explain
id select_type table type possible_keys key key_len ref rows Extra
1 SIMPLE Impossible WHERE noticed after reading const tables