SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8cf23d89aa8b69367f92889c3bd32daa021e61e16170302109e4ca1b0a1b3de5' 
  AND token = 'niAbInXvhabzBfXE/eyfgks6wKVGdhTtidk9/MEA8KE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00078

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