SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '166ee9831fbad61e4ee99a289b8695fb62bf4ade72c1fa3c5152a71e5bd336ac' 
  AND token = 'xD0TP5ZL49WvEOhZ9nb/5CkOz9CrU/lB9uOecuGaAr0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00028

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