SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '865f0b7a4af09faaf25fbd50bb0f66f66df81ac9854387c4a5a6a381fdeaa6c5' 
  AND token = 'LfQk0f81iB5rYUoQd4Uz9xDNsEXnDoQn6tEfh7512JU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

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