SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2531b2562f926da3cc584a1bae985755e42228206374dd8b4897a1da3a509f9e' 
  AND token = 'q4mJXgWiEZgJgggZ6oY9OwndN1pqYzJat05FDeq7TAI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00124

JSON explain

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