SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40ca0a7d3ae8e686a4101dc3fb7a6c96ba337bf6dbd4e8131018cecd0afdd2ac' 
  AND token = 'UvPkXRWI+s+hw4ARdUTzNR3JBV6TGn6mAvbwRIOtkuc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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