SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '8960e033d566c89b7ecf5f8323ce991b58a6e019db69b12a880debbd37171eb8' 
  AND token = 'm17Jih3mSCKhc2uy8v2INPpT7qZIJRzIiOGHJoIQJKA=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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