SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c8e5ff3e9e84bd1e738b91f111396644101a8d2a54717588b119f434d41314d4' 
  AND token = 'RB8yQJQ2f4ZaThQhFQ+p+QFwLxPL82DOM+2S5ajkeR8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00027

JSON explain

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