SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8d3fb158da2c05882d050534fb47626535dabc6f1cbbe170b7445a52316249c' 
  AND token = 'D2GUEfv5+j9rey1qIkgga8r6HxbYYGqXCypGhQiT4gs=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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