SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'af8c13986c600526c0ba8d6dc60581a0e7967bda50fc3aaf12c26d14b2c4f66d' 
  AND token = '7PMGfBM41YAAqIJHXgiZlRX0meNLQSVO3JjQeTa8eXo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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