SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40eedf45f9393818ace0dfca906a00cf99b3bc4cb97b9ed0bad8c801afe8dd7f' 
  AND token = 'lySwvdkhv4g7a0WNcOXgOAvhCihNTvVPVAeSd10Fw4I=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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