SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '539916f1886ab0f4f01297a798650a16c67c6b9972e436e353855812a64c26ff' 
  AND token = 'gwOi8iTK3tGkCdP+ATr0GckN/ZUfseJM3EuhGgxIkjc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00012

JSON explain

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