SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ef6400278020bf105b0b90d5f5f3acb8f1ce2f4b324b9428a1b0ad32c9e8089f' 
  AND token = 'Dlx9IpQsn76hQ3auM0zOxEps6d/5WFQxFkprxxeqQF4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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