SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bc4c8f1e1ee5d9e4fd388a5af0a3c01c8154f014dae43cd4157c4ca31f683e4f' 
  AND token = 'NiiRPJcLHymR5D3zjkqpcm/SRWh3SpS9WRjA9fXmvss=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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