SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '7c9847f5b35e93b6f645c758d47f95791f4c2a2ddbb503845301691cfa42140b' 
  AND token = 'S+YwKC536bE4Zmu9H+eUyo2yWwcTJoW7eQUZ+Mh6Hs4=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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