SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8c972c6bed4d0bfa4945e0902bb505add14788627a1dd9bd939700b07f3ba51c' 
  AND token = 'x9ZzOLgVFSaJT6EBevd22Pih66/1eFOeTpmxk7O6xHE=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00069

JSON explain

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