SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4b962b17157faabaabdc7983e5c0a1a70c107957030aaff6489addcb04a1af16' 
  AND token = 'vuEfa6PT/P2HYvx+4zu4cSRbud2sNhvLh27pZhtkF64=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}